1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opa
  5. OpaInstance
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Opa.OpaInstance

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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

    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
    DefinedTags 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.
    FreeformTags 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.
    IsBreakglassEnabled bool
    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 ACTIVE or 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
    DefinedTags 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.
    FreeformTags 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.
    IsBreakglassEnabled bool
    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 ACTIVE or 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
    definedTags 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.
    freeformTags 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.
    isBreakglassEnabled Boolean
    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 ACTIVE or 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
    definedTags {[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.
    freeformTags {[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.
    isBreakglassEnabled boolean
    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 ACTIVE or 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
    defined_tags 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.
    freeform_tags 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_enabled bool
    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 or 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
    definedTags 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.
    freeformTags 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.
    isBreakglassEnabled Boolean
    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 ACTIVE or 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<OpaInstanceAttachment>
    A list of associated attachments to other services
    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityAppDisplayName string
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppGuid string
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppOpcServiceInstanceGuid string
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityDomainUrl string
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    InstanceUrl string
    OPA Instance URL
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    Attachments []OpaInstanceAttachment
    A list of associated attachments to other services
    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityAppDisplayName string
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppGuid string
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppOpcServiceInstanceGuid string
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityDomainUrl string
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    InstanceUrl string
    OPA Instance URL
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments List<InstanceAttachment>
    A list of associated attachments to other services
    id String
    The provider-assigned unique ID for this managed resource.
    identityAppDisplayName String
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityAppGuid String
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identityAppOpcServiceInstanceGuid String
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityDomainUrl String
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instanceUrl String
    OPA Instance URL
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments OpaInstanceAttachment[]
    A list of associated attachments to other services
    id string
    The provider-assigned unique ID for this managed resource.
    identityAppDisplayName string
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityAppGuid string
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identityAppOpcServiceInstanceGuid string
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityDomainUrl string
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instanceUrl string
    OPA Instance URL
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    timeUpdated string
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments Sequence[opa.OpaInstanceAttachment]
    A list of associated attachments to other services
    id str
    The provider-assigned unique ID for this managed resource.
    identity_app_display_name str
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identity_app_guid str
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identity_app_opc_service_instance_guid str
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identity_domain_url str
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instance_url str
    OPA Instance URL
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    time_updated str
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments List<Property Map>
    A list of associated attachments to other services
    id String
    The provider-assigned unique ID for this managed resource.
    identityAppDisplayName String
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityAppGuid String
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identityAppOpcServiceInstanceGuid String
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityDomainUrl String
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instanceUrl String
    OPA Instance URL
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time the OpaInstance was updated. An RFC3339 formatted datetime string

    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, 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) -> 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.
    The following state arguments are supported:
    Attachments List<OpaInstanceAttachment>
    A list of associated attachments to other services
    CompartmentId string
    (Updatable) Compartment Identifier
    ConsumptionModel string
    Parameter specifying which entitlement to use for billing purposes
    DefinedTags 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.
    FreeformTags 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.
    IdentityAppDisplayName string
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppGuid string
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppOpcServiceInstanceGuid string
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityDomainUrl string
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    InstanceUrl string
    OPA Instance URL
    IsBreakglassEnabled bool
    indicates if breakGlass is enabled for the opa instance.
    MeteringType string
    MeteringType Identifier
    ShapeName string
    Shape of the instance.
    State string

    (Updatable) The target state for the Opa Instance. Could be set to ACTIVE or 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

    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    Attachments []OpaInstanceAttachmentArgs
    A list of associated attachments to other services
    CompartmentId string
    (Updatable) Compartment Identifier
    ConsumptionModel string
    Parameter specifying which entitlement to use for billing purposes
    DefinedTags 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.
    FreeformTags 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.
    IdentityAppDisplayName string
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppGuid string
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    IdentityAppOpcServiceInstanceGuid string
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    IdentityDomainUrl string
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    InstanceUrl string
    OPA Instance URL
    IsBreakglassEnabled bool
    indicates if breakGlass is enabled for the opa instance.
    MeteringType string
    MeteringType Identifier
    ShapeName string
    Shape of the instance.
    State string

    (Updatable) The target state for the Opa Instance. Could be set to ACTIVE or 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

    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments List<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
    definedTags 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.
    freeformTags 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.
    identityAppDisplayName String
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityAppGuid String
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identityAppOpcServiceInstanceGuid String
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityDomainUrl String
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instanceUrl String
    OPA Instance URL
    isBreakglassEnabled Boolean
    indicates if breakGlass is enabled for the opa instance.
    meteringType String
    MeteringType Identifier
    shapeName String
    Shape of the instance.
    state String

    (Updatable) The target state for the Opa Instance. Could be set to ACTIVE or 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

    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments OpaInstanceAttachment[]
    A list of associated attachments to other services
    compartmentId string
    (Updatable) Compartment Identifier
    consumptionModel string
    Parameter specifying which entitlement to use for billing purposes
    definedTags {[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.
    freeformTags {[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.
    identityAppDisplayName string
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityAppGuid string
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identityAppOpcServiceInstanceGuid string
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityDomainUrl string
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instanceUrl string
    OPA Instance URL
    isBreakglassEnabled boolean
    indicates if breakGlass is enabled for the opa instance.
    meteringType string
    MeteringType Identifier
    shapeName string
    Shape of the instance.
    state string

    (Updatable) The target state for the Opa Instance. Could be set to ACTIVE or 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

    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    timeUpdated string
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments Sequence[opa.OpaInstanceAttachmentArgs]
    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
    defined_tags 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.
    freeform_tags 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_display_name str
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identity_app_guid str
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identity_app_opc_service_instance_guid str
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identity_domain_url str
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instance_url str
    OPA Instance URL
    is_breakglass_enabled bool
    indicates if breakGlass is enabled for the opa instance.
    metering_type str
    MeteringType Identifier
    shape_name str
    Shape of the instance.
    state str

    (Updatable) The target state for the Opa Instance. Could be set to ACTIVE or 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

    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    time_updated str
    The time the OpaInstance was updated. An RFC3339 formatted datetime string
    attachments List<Property Map>
    A list of associated attachments to other services
    compartmentId String
    (Updatable) Compartment Identifier
    consumptionModel String
    Parameter specifying which entitlement to use for billing purposes
    definedTags 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.
    freeformTags 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.
    identityAppDisplayName String
    This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityAppGuid String
    This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
    identityAppOpcServiceInstanceGuid String
    This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    identityDomainUrl String
    This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.
    instanceUrl String
    OPA Instance URL
    isBreakglassEnabled Boolean
    indicates if breakGlass is enabled for the opa instance.
    meteringType String
    MeteringType Identifier
    shapeName String
    Shape of the instance.
    state String

    (Updatable) The target state for the Opa Instance. Could be set to ACTIVE or 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

    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when OpaInstance was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time the OpaInstance was updated. An RFC3339 formatted datetime string

    Supporting Types

    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
    TargetId string
    The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
    TargetInstanceUrl string
    The dataplane instance URL of the attached instance
    TargetRole string
    The role of the target attachment.

    • PARENT - The target instance is the parent of this attachment.
    • CHILD - The target instance is the child of this attachment.
    TargetServiceType string
    The type of the target instance, such as "FUSION".
    IsImplicit bool
    • If role == PARENT, the attached instance was created by this service instance
    • If role == CHILD, this instance was created from attached instance on behalf of a user
    TargetId string
    The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
    TargetInstanceUrl string
    The dataplane instance URL of the attached instance
    TargetRole string
    The role of the target attachment.

    • PARENT - The target instance is the parent of this attachment.
    • CHILD - The target instance is the child of this attachment.
    TargetServiceType string
    The type of the target instance, such as "FUSION".
    isImplicit Boolean
    • If role == PARENT, the attached instance was created by this service instance
    • If role == CHILD, this instance was created from attached instance on behalf of a user
    targetId String
    The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
    targetInstanceUrl String
    The dataplane instance URL of the attached instance
    targetRole String
    The role of the target attachment.

    • PARENT - The target instance is the parent of this attachment.
    • CHILD - The target instance is the child of this attachment.
    targetServiceType String
    The type of the target instance, such as "FUSION".
    isImplicit boolean
    • If role == PARENT, the attached instance was created by this service instance
    • If role == CHILD, this instance was created from attached instance on behalf of a user
    targetId string
    The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
    targetInstanceUrl string
    The dataplane instance URL of the attached instance
    targetRole string
    The role of the target attachment.

    • PARENT - The target instance is the parent of this attachment.
    • CHILD - The target instance is the child of this attachment.
    targetServiceType string
    The type of the target instance, such as "FUSION".
    is_implicit bool
    • If role == PARENT, the attached instance was created by this service instance
    • If role == CHILD, this instance was created from attached instance on behalf of a user
    target_id str
    The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
    target_instance_url str
    The dataplane instance URL of the attached instance
    target_role str
    The role of the target attachment.

    • PARENT - The target instance is the parent of this attachment.
    • CHILD - The target instance is the child of this attachment.
    target_service_type str
    The type of the target instance, such as "FUSION".
    isImplicit Boolean
    • If role == PARENT, the attached instance was created by this service instance
    • If role == CHILD, this instance was created from attached instance on behalf of a user
    targetId String
    The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
    targetInstanceUrl String
    The dataplane instance URL of the attached instance
    targetRole String
    The role of the target attachment.

    • PARENT - The target instance is the parent of this attachment.
    • CHILD - The target instance is the child of this attachment.
    targetServiceType String
    The type of the target instance, such as "FUSION".

    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.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi