oci.Opa.OpaInstance
Explore with Pulumi AI
This resource provides the Opa Instance resource in Oracle Cloud Infrastructure Opa service.
Creates a new OpaInstance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOpaInstance = new oci.opa.OpaInstance("test_opa_instance", {
    compartmentId: compartmentId,
    displayName: opaInstanceDisplayName,
    shapeName: testShape.name,
    consumptionModel: opaInstanceConsumptionModel,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: opaInstanceDescription,
    freeformTags: {
        "bar-key": "value",
    },
    idcsAt: opaInstanceIdcsAt,
    isBreakglassEnabled: opaInstanceIsBreakglassEnabled,
    meteringType: opaInstanceMeteringType,
});
import pulumi
import pulumi_oci as oci
test_opa_instance = oci.opa.OpaInstance("test_opa_instance",
    compartment_id=compartment_id,
    display_name=opa_instance_display_name,
    shape_name=test_shape["name"],
    consumption_model=opa_instance_consumption_model,
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=opa_instance_description,
    freeform_tags={
        "bar-key": "value",
    },
    idcs_at=opa_instance_idcs_at,
    is_breakglass_enabled=opa_instance_is_breakglass_enabled,
    metering_type=opa_instance_metering_type)
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.NewOpaInstance(ctx, "test_opa_instance", &opa.OpaInstanceArgs{
			CompartmentId:    pulumi.Any(compartmentId),
			DisplayName:      pulumi.Any(opaInstanceDisplayName),
			ShapeName:        pulumi.Any(testShape.Name),
			ConsumptionModel: pulumi.Any(opaInstanceConsumptionModel),
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			Description: pulumi.Any(opaInstanceDescription),
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
			IdcsAt:              pulumi.Any(opaInstanceIdcsAt),
			IsBreakglassEnabled: pulumi.Any(opaInstanceIsBreakglassEnabled),
			MeteringType:        pulumi.Any(opaInstanceMeteringType),
		})
		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 = new Oci.Opa.OpaInstance("test_opa_instance", new()
    {
        CompartmentId = compartmentId,
        DisplayName = opaInstanceDisplayName,
        ShapeName = testShape.Name,
        ConsumptionModel = opaInstanceConsumptionModel,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = opaInstanceDescription,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        IdcsAt = opaInstanceIdcsAt,
        IsBreakglassEnabled = opaInstanceIsBreakglassEnabled,
        MeteringType = opaInstanceMeteringType,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opa.OpaInstance;
import com.pulumi.oci.Opa.OpaInstanceArgs;
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 testOpaInstance = new OpaInstance("testOpaInstance", OpaInstanceArgs.builder()
            .compartmentId(compartmentId)
            .displayName(opaInstanceDisplayName)
            .shapeName(testShape.name())
            .consumptionModel(opaInstanceConsumptionModel)
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(opaInstanceDescription)
            .freeformTags(Map.of("bar-key", "value"))
            .idcsAt(opaInstanceIdcsAt)
            .isBreakglassEnabled(opaInstanceIsBreakglassEnabled)
            .meteringType(opaInstanceMeteringType)
            .build());
    }
}
resources:
  testOpaInstance:
    type: oci:Opa:OpaInstance
    name: test_opa_instance
    properties:
      compartmentId: ${compartmentId}
      displayName: ${opaInstanceDisplayName}
      shapeName: ${testShape.name}
      consumptionModel: ${opaInstanceConsumptionModel}
      definedTags:
        foo-namespace.bar-key: value
      description: ${opaInstanceDescription}
      freeformTags:
        bar-key: value
      idcsAt: ${opaInstanceIdcsAt}
      isBreakglassEnabled: ${opaInstanceIsBreakglassEnabled}
      meteringType: ${opaInstanceMeteringType}
Create OpaInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OpaInstance(name: string, args: OpaInstanceArgs, opts?: CustomResourceOptions);@overload
def OpaInstance(resource_name: str,
                args: OpaInstanceArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def OpaInstance(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                compartment_id: Optional[str] = None,
                display_name: Optional[str] = None,
                shape_name: Optional[str] = None,
                consumption_model: Optional[str] = None,
                defined_tags: Optional[Mapping[str, str]] = None,
                description: Optional[str] = None,
                freeform_tags: Optional[Mapping[str, str]] = None,
                idcs_at: Optional[str] = None,
                is_breakglass_enabled: Optional[bool] = None,
                metering_type: Optional[str] = None,
                state: Optional[str] = None)func NewOpaInstance(ctx *Context, name string, args OpaInstanceArgs, opts ...ResourceOption) (*OpaInstance, error)public OpaInstance(string name, OpaInstanceArgs args, CustomResourceOptions? opts = null)
public OpaInstance(String name, OpaInstanceArgs args)
public OpaInstance(String name, OpaInstanceArgs args, CustomResourceOptions options)
type: oci:Opa:OpaInstance
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 OpaInstanceArgs
- 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 OpaInstanceArgs
- 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 OpaInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OpaInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OpaInstanceArgs
- 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 opaInstanceResource = new Oci.Opa.OpaInstance("opaInstanceResource", new()
{
    CompartmentId = "string",
    DisplayName = "string",
    ShapeName = "string",
    ConsumptionModel = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    Description = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    IdcsAt = "string",
    IsBreakglassEnabled = false,
    MeteringType = "string",
    State = "string",
});
example, err := opa.NewOpaInstance(ctx, "opaInstanceResource", &opa.OpaInstanceArgs{
	CompartmentId:    pulumi.String("string"),
	DisplayName:      pulumi.String("string"),
	ShapeName:        pulumi.String("string"),
	ConsumptionModel: pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	IdcsAt:              pulumi.String("string"),
	IsBreakglassEnabled: pulumi.Bool(false),
	MeteringType:        pulumi.String("string"),
	State:               pulumi.String("string"),
})
var opaInstanceResource = new OpaInstance("opaInstanceResource", OpaInstanceArgs.builder()
    .compartmentId("string")
    .displayName("string")
    .shapeName("string")
    .consumptionModel("string")
    .definedTags(Map.of("string", "string"))
    .description("string")
    .freeformTags(Map.of("string", "string"))
    .idcsAt("string")
    .isBreakglassEnabled(false)
    .meteringType("string")
    .state("string")
    .build());
opa_instance_resource = oci.opa.OpaInstance("opaInstanceResource",
    compartment_id="string",
    display_name="string",
    shape_name="string",
    consumption_model="string",
    defined_tags={
        "string": "string",
    },
    description="string",
    freeform_tags={
        "string": "string",
    },
    idcs_at="string",
    is_breakglass_enabled=False,
    metering_type="string",
    state="string")
const opaInstanceResource = new oci.opa.OpaInstance("opaInstanceResource", {
    compartmentId: "string",
    displayName: "string",
    shapeName: "string",
    consumptionModel: "string",
    definedTags: {
        string: "string",
    },
    description: "string",
    freeformTags: {
        string: "string",
    },
    idcsAt: "string",
    isBreakglassEnabled: false,
    meteringType: "string",
    state: "string",
});
type: oci:Opa:OpaInstance
properties:
    compartmentId: string
    consumptionModel: string
    definedTags:
        string: string
    description: string
    displayName: string
    freeformTags:
        string: string
    idcsAt: string
    isBreakglassEnabled: false
    meteringType: string
    shapeName: string
    state: string
OpaInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OpaInstance resource accepts the following input properties:
- CompartmentId string
- (Updatable) Compartment Identifier
- DisplayName string
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- ShapeName string
- Shape of the instance.
- ConsumptionModel string
- Parameter specifying which entitlement to use for billing purposes
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Oracle Process Automation instance.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- IdcsAt string
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- IsBreakglass boolEnabled 
- indicates if breakGlass is enabled for the opa instance.
- MeteringType string
- MeteringType Identifier
- State string
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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 
- CompartmentId string
- (Updatable) Compartment Identifier
- DisplayName string
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- ShapeName string
- Shape of the instance.
- ConsumptionModel string
- Parameter specifying which entitlement to use for billing purposes
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Oracle Process Automation instance.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- IdcsAt string
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- IsBreakglass boolEnabled 
- indicates if breakGlass is enabled for the opa instance.
- MeteringType string
- MeteringType Identifier
- State string
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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 
- compartmentId String
- (Updatable) Compartment Identifier
- displayName String
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- shapeName String
- Shape of the instance.
- consumptionModel String
- Parameter specifying which entitlement to use for billing purposes
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Oracle Process Automation instance.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcsAt String
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- isBreakglass BooleanEnabled 
- indicates if breakGlass is enabled for the opa instance.
- meteringType String
- MeteringType Identifier
- state String
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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 
- compartmentId string
- (Updatable) Compartment Identifier
- displayName string
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- shapeName string
- Shape of the instance.
- consumptionModel string
- Parameter specifying which entitlement to use for billing purposes
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Description of the Oracle Process Automation instance.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcsAt string
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- isBreakglass booleanEnabled 
- indicates if breakGlass is enabled for the opa instance.
- meteringType string
- MeteringType Identifier
- state string
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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 
- compartment_id str
- (Updatable) Compartment Identifier
- display_name str
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- shape_name str
- Shape of the instance.
- consumption_model str
- Parameter specifying which entitlement to use for billing purposes
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Description of the Oracle Process Automation instance.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcs_at str
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- is_breakglass_ boolenabled 
- indicates if breakGlass is enabled for the opa instance.
- metering_type str
- MeteringType Identifier
- state str
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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 
- compartmentId String
- (Updatable) Compartment Identifier
- displayName String
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- shapeName String
- Shape of the instance.
- consumptionModel String
- Parameter specifying which entitlement to use for billing purposes
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Oracle Process Automation instance.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcsAt String
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- isBreakglass BooleanEnabled 
- indicates if breakGlass is enabled for the opa instance.
- meteringType String
- MeteringType Identifier
- state String
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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 
Outputs
All input properties are implicitly available as output properties. Additionally, the OpaInstance resource produces the following output properties:
- Attachments
List<OpaInstance Attachment> 
- A list of associated attachments to other services
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- 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
[]OpaInstance Attachment 
- A list of associated attachments to other services
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- 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<InstanceAttachment> 
- A list of associated attachments to other services
- id String
- The provider-assigned unique ID for this managed resource.
- 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
- 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
OpaInstance Attachment[] 
- A list of associated attachments to other services
- id string
- The provider-assigned unique ID for this managed resource.
- 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
- {[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[OpaInstance Attachment] 
- A list of associated attachments to other services
- id str
- The provider-assigned unique ID for this managed resource.
- 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
- 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
- id String
- The provider-assigned unique ID for this managed resource.
- 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
- 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
Look up Existing OpaInstance Resource
Get an existing OpaInstance 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?: OpaInstanceState, opts?: CustomResourceOptions): OpaInstance@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        attachments: Optional[Sequence[OpaInstanceAttachmentArgs]] = None,
        compartment_id: Optional[str] = None,
        consumption_model: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        idcs_at: Optional[str] = None,
        identity_app_display_name: Optional[str] = None,
        identity_app_guid: Optional[str] = None,
        identity_app_opc_service_instance_guid: Optional[str] = None,
        identity_domain_url: Optional[str] = None,
        instance_url: Optional[str] = None,
        is_breakglass_enabled: Optional[bool] = None,
        metering_type: Optional[str] = None,
        shape_name: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> OpaInstancefunc GetOpaInstance(ctx *Context, name string, id IDInput, state *OpaInstanceState, opts ...ResourceOption) (*OpaInstance, error)public static OpaInstance Get(string name, Input<string> id, OpaInstanceState? state, CustomResourceOptions? opts = null)public static OpaInstance get(String name, Output<String> id, OpaInstanceState state, CustomResourceOptions options)resources:  _:    type: oci:Opa:OpaInstance    get:      id: ${id}- 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.
- Attachments
List<OpaInstance Attachment> 
- A list of associated attachments to other services
- CompartmentId string
- (Updatable) Compartment Identifier
- ConsumptionModel string
- Parameter specifying which entitlement to use for billing purposes
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Oracle Process Automation instance.
- DisplayName string
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- IdcsAt string
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- 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
- ShapeName string
- Shape of the instance.
- State string
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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, 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
[]OpaInstance Attachment Args 
- A list of associated attachments to other services
- CompartmentId string
- (Updatable) Compartment Identifier
- ConsumptionModel string
- Parameter specifying which entitlement to use for billing purposes
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Oracle Process Automation instance.
- DisplayName string
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- IdcsAt string
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- 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
- ShapeName string
- Shape of the instance.
- State string
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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]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<InstanceAttachment> 
- A list of associated attachments to other services
- compartmentId String
- (Updatable) Compartment Identifier
- consumptionModel String
- Parameter specifying which entitlement to use for billing purposes
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Oracle Process Automation instance.
- displayName String
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcsAt String
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- 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
- shapeName String
- Shape of the instance.
- state String
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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,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
OpaInstance Attachment[] 
- A list of associated attachments to other services
- compartmentId string
- (Updatable) Compartment Identifier
- consumptionModel string
- Parameter specifying which entitlement to use for billing purposes
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Description of the Oracle Process Automation instance.
- displayName string
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcsAt string
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- 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
- shapeName string
- Shape of the instance.
- state string
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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]: 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[OpaInstance Attachment Args] 
- A list of associated attachments to other services
- compartment_id str
- (Updatable) Compartment Identifier
- consumption_model str
- Parameter specifying which entitlement to use for billing purposes
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Description of the Oracle Process Automation instance.
- display_name str
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcs_at str
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- 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
- shape_name str
- Shape of the instance.
- state str
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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, 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
- (Updatable) Compartment Identifier
- consumptionModel String
- Parameter specifying which entitlement to use for billing purposes
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Oracle Process Automation instance.
- displayName String
- (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- idcsAt String
- IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
- 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
- shapeName String
- Shape of the instance.
- state String
- (Updatable) The target state for the Opa Instance. Could be set to - ACTIVEor- INACTIVE.- ** 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>
- 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
OpaInstanceAttachment, OpaInstanceAttachmentArgs      
- 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".
Import
OpaInstances can be imported using the id, e.g.
$ pulumi import oci:Opa/opaInstance:OpaInstance test_opa_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 ociTerraform Provider.