Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Opa.getOpaInstance
Explore with Pulumi AI
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:
- Opa
Instance stringId - unique OpaInstance identifier
- Opa
Instance stringId - unique OpaInstance identifier
- opa
Instance StringId - unique OpaInstance identifier
- opa
Instance stringId - unique OpaInstance identifier
- opa_
instance_ strid - unique OpaInstance identifier
- opa
Instance StringId - unique OpaInstance identifier
getOpaInstance Result
The following output properties are available:
- Attachments
List<Get
Opa Instance Attachment> - A list of associated attachments to other services
- Compartment
Id string - Compartment Identifier
- Consumption
Model string - The entitlement used for billing purposes
- 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.
- Display
Name string - OpaInstance Identifier, can be renamed
- 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
- Idcs
At string - Identity
App 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.
- Identity
App 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.
- Identity
App 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.
- Identity
Domain 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.
- Instance
Url string - OPA Instance URL
- Is
Breakglass boolEnabled - indicates if breakGlass is enabled for the opa instance.
- Metering
Type string - MeteringType Identifier
- Opa
Instance stringId - Shape
Name string - Shape of the instance.
- State string
- The current state of the OpaInstance.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when OpaInstance was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the OpaInstance was updated. An RFC3339 formatted datetime string
- Attachments
[]Get
Opa Instance Attachment - A list of associated attachments to other services
- Compartment
Id string - Compartment Identifier
- Consumption
Model string - The entitlement used for billing purposes
- 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.
- Display
Name string - OpaInstance Identifier, can be renamed
- 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
- Idcs
At string - Identity
App 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.
- Identity
App 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.
- Identity
App 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.
- Identity
Domain 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.
- Instance
Url string - OPA Instance URL
- Is
Breakglass boolEnabled - indicates if breakGlass is enabled for the opa instance.
- Metering
Type string - MeteringType Identifier
- Opa
Instance stringId - Shape
Name string - Shape of the instance.
- State string
- The current state of the OpaInstance.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when OpaInstance was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the OpaInstance was updated. An RFC3339 formatted datetime string
- attachments
List<Get
Instance Attachment> - A list of associated attachments to other services
- compartment
Id String - Compartment Identifier
- consumption
Model String - The entitlement used for billing purposes
- 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.
- display
Name String - OpaInstance Identifier, can be renamed
- 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
- idcs
At String - identity
App 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.
- identity
App 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.
- identity
App 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.
- identity
Domain 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.
- instance
Url String - OPA Instance URL
- is
Breakglass BooleanEnabled - indicates if breakGlass is enabled for the opa instance.
- metering
Type String - MeteringType Identifier
- opa
Instance StringId - shape
Name String - Shape of the instance.
- state String
- The current state of the OpaInstance.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when OpaInstance was created. An RFC3339 formatted datetime string
- time
Updated String - The time the OpaInstance was updated. An RFC3339 formatted datetime string
- attachments
Get
Opa Instance Attachment[] - A list of associated attachments to other services
- compartment
Id string - Compartment Identifier
- consumption
Model string - The entitlement used for billing purposes
- {[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.
- display
Name string - OpaInstance Identifier, can be renamed
- {[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
- idcs
At string - identity
App 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.
- identity
App 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.
- identity
App 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.
- identity
Domain 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.
- instance
Url string - OPA Instance URL
- is
Breakglass booleanEnabled - indicates if breakGlass is enabled for the opa instance.
- metering
Type string - MeteringType Identifier
- opa
Instance stringId - shape
Name string - Shape of the instance.
- state string
- The current state of the OpaInstance.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when OpaInstance was created. An RFC3339 formatted datetime string
- time
Updated 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, 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
- 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_ 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, 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
- compartment
Id String - Compartment Identifier
- consumption
Model String - The entitlement used for billing purposes
- 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.
- display
Name String - OpaInstance Identifier, can be renamed
- 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
- idcs
At String - identity
App 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.
- identity
App 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.
- identity
App 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.
- identity
Domain 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.
- instance
Url String - OPA Instance URL
- is
Breakglass BooleanEnabled - indicates if breakGlass is enabled for the opa instance.
- metering
Type String - MeteringType Identifier
- opa
Instance StringId - shape
Name String - Shape of the instance.
- state String
- The current state of the OpaInstance.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when OpaInstance was created. An RFC3339 formatted datetime string
- time
Updated String - The time the OpaInstance was updated. An RFC3339 formatted datetime string
Supporting Types
GetOpaInstanceAttachment
- 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 string - 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 stringUrl - The dataplane instance URL of the attached instance
- Target
Role 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.
- Target
Service 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 string - 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 stringUrl - The dataplane instance URL of the attached instance
- Target
Role 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.
- Target
Service stringType - The type of the target instance, such as "FUSION".
- is
Implicit 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 ==
- target
Id String - 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 StringUrl - The dataplane instance URL of the attached instance
- target
Role 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.
- target
Service StringType - The type of the target instance, such as "FUSION".
- is
Implicit 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 ==
- target
Id string - 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 stringUrl - The dataplane instance URL of the attached instance
- target
Role 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.
- target
Service 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".
- is
Implicit 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 ==
- target
Id String - 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 StringUrl - The dataplane instance URL of the attached instance
- target
Role 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.
- target
Service 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
oci
Terraform Provider.