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/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.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
Description: pulumi.Any(opaInstanceDescription),
FreeformTags: pulumi.Map{
"bar-key": pulumi.Any("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, Any]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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", "any" },
},
Description = "string",
FreeformTags =
{
{ "string", "any" },
},
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.Map{
"string": pulumi.Any("any"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
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", "any"))
.description("string")
.freeformTags(Map.of("string", "any"))
.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": "any",
},
description="string",
freeform_tags={
"string": "any",
},
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: "any",
},
description: "string",
freeformTags: {
string: "any",
},
idcsAt: "string",
isBreakglassEnabled: false,
meteringType: "string",
state: "string",
});
type: oci:Opa:OpaInstance
properties:
compartmentId: string
consumptionModel: string
definedTags:
string: any
description: string
displayName: string
freeformTags:
string: any
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
The OpaInstance resource accepts the following input properties:
- Compartment
Id string - (Updatable) Compartment Identifier
- Display
Name string - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Shape
Name string - Shape of the instance.
- Consumption
Model string - Parameter specifying which entitlement to use for billing purposes
- Dictionary<string, object>
- (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, object>
- (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 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.
- Is
Breakglass boolEnabled - indicates if breakGlass is enabled for the opa instance.
- Metering
Type string - MeteringType Identifier
- State string
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** 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 string - (Updatable) Compartment Identifier
- Display
Name string - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Shape
Name string - Shape of the instance.
- Consumption
Model string - Parameter specifying which entitlement to use for billing purposes
- map[string]interface{}
- (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]interface{}
- (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 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.
- Is
Breakglass boolEnabled - indicates if breakGlass is enabled for the opa instance.
- Metering
Type string - MeteringType Identifier
- State string
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** 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 String - (Updatable) Compartment Identifier
- display
Name String - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- shape
Name String - Shape of the instance.
- consumption
Model String - Parameter specifying which entitlement to use for billing purposes
- Map<String,Object>
- (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,Object>
- (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 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.
- is
Breakglass BooleanEnabled - indicates if breakGlass is enabled for the opa instance.
- metering
Type String - MeteringType Identifier
- state String
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** 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 string - (Updatable) Compartment Identifier
- display
Name string - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- shape
Name string - Shape of the instance.
- consumption
Model string - Parameter specifying which entitlement to use for billing purposes
- {[key: string]: any}
- (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]: any}
- (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 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.
- is
Breakglass booleanEnabled - indicates if breakGlass is enabled for the opa instance.
- metering
Type string - MeteringType Identifier
- state string
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** 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, Any]
- (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, Any]
- (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
ACTIVE
orINACTIVE
.** 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 String - (Updatable) Compartment Identifier
- display
Name String - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- shape
Name String - Shape of the instance.
- consumption
Model String - Parameter specifying which entitlement to use for billing purposes
- Map<Any>
- (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<Any>
- (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 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.
- is
Breakglass BooleanEnabled - indicates if breakGlass is enabled for the opa instance.
- metering
Type String - MeteringType Identifier
- state String
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** 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<Opa
Instance Attachment> - A list of associated attachments to other services
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- Dictionary<string, object>
- 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
[]Opa
Instance Attachment - A list of associated attachments to other services
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- map[string]interface{}
- 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<Instance
Attachment> - A list of associated attachments to other services
- id String
- The provider-assigned unique ID for this managed resource.
- 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
- Map<String,Object>
- 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
Opa
Instance Attachment[] - A list of associated attachments to other services
- id string
- The provider-assigned unique ID for this managed resource.
- 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
- {[key: string]: any}
- 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.
Opa Instance 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, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time when OpaInstance was created. An RFC3339 formatted datetime string
- time_
updated str - The time the OpaInstance was updated. An RFC3339 formatted datetime string
- attachments List<Property Map>
- A list of associated attachments to other services
- id String
- The provider-assigned unique ID for this managed resource.
- 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
- Map<Any>
- 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
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[_opa.OpaInstanceAttachmentArgs]] = None,
compartment_id: Optional[str] = None,
consumption_model: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
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, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> OpaInstance
func 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Attachments
List<Opa
Instance Attachment> - A list of associated attachments to other services
- Compartment
Id string - (Updatable) Compartment Identifier
- Consumption
Model string - Parameter specifying which entitlement to use for billing purposes
- Dictionary<string, object>
- (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.
- Display
Name string - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Idcs
At 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.
- 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
- Shape
Name string - Shape of the instance.
- State string
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, object>
- 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
[]Opa
Instance Attachment Args - A list of associated attachments to other services
- Compartment
Id string - (Updatable) Compartment Identifier
- Consumption
Model string - Parameter specifying which entitlement to use for billing purposes
- map[string]interface{}
- (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.
- Display
Name string - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Idcs
At 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.
- 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
- Shape
Name string - Shape of the instance.
- State string
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]interface{}
- 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<Instance
Attachment> - A list of associated attachments to other services
- compartment
Id String - (Updatable) Compartment Identifier
- consumption
Model String - Parameter specifying which entitlement to use for billing purposes
- Map<String,Object>
- (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.
- display
Name String - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- idcs
At 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.
- 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
- shape
Name String - Shape of the instance.
- state String
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,Object>
- 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
Opa
Instance Attachment[] - A list of associated attachments to other services
- compartment
Id string - (Updatable) Compartment Identifier
- consumption
Model string - Parameter specifying which entitlement to use for billing purposes
- {[key: string]: any}
- (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.
- display
Name string - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- idcs
At 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.
- 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
- shape
Name string - Shape of the instance.
- state string
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: any}
- 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.
Opa Instance 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, Any]
- (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, Any]
- (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
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, Any]
- 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 - (Updatable) Compartment Identifier
- consumption
Model String - Parameter specifying which entitlement to use for billing purposes
- Map<Any>
- (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.
- display
Name String - (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- idcs
At 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.
- 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
- shape
Name String - Shape of the instance.
- state String
(Updatable) The target state for the Opa Instance. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<Any>
- 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
OpaInstanceAttachment, OpaInstanceAttachmentArgs
- 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".
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
oci
Terraform Provider.