1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. OperationsInsightsPrivateEndpoint
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Opsi.OperationsInsightsPrivateEndpoint

Explore with Pulumi AI

This resource provides the Operations Insights Private Endpoint resource in Oracle Cloud Infrastructure Opsi service.

Create a private endpoint resource for the tenant in Ops Insights. This resource will be created in customer compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOperationsInsightsPrivateEndpoint = new oci.opsi.OperationsInsightsPrivateEndpoint("test_operations_insights_private_endpoint", {
    compartmentId: compartmentId,
    displayName: operationsInsightsPrivateEndpointDisplayName,
    isUsedForRacDbs: operationsInsightsPrivateEndpointIsUsedForRacDbs,
    subnetId: testSubnet.id,
    vcnId: testVcn.id,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: operationsInsightsPrivateEndpointDescription,
    freeformTags: {
        "bar-key": "value",
    },
    nsgIds: operationsInsightsPrivateEndpointNsgIds,
});
Copy
import pulumi
import pulumi_oci as oci

test_operations_insights_private_endpoint = oci.opsi.OperationsInsightsPrivateEndpoint("test_operations_insights_private_endpoint",
    compartment_id=compartment_id,
    display_name=operations_insights_private_endpoint_display_name,
    is_used_for_rac_dbs=operations_insights_private_endpoint_is_used_for_rac_dbs,
    subnet_id=test_subnet["id"],
    vcn_id=test_vcn["id"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=operations_insights_private_endpoint_description,
    freeform_tags={
        "bar-key": "value",
    },
    nsg_ids=operations_insights_private_endpoint_nsg_ids)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/opsi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opsi.NewOperationsInsightsPrivateEndpoint(ctx, "test_operations_insights_private_endpoint", &opsi.OperationsInsightsPrivateEndpointArgs{
			CompartmentId:   pulumi.Any(compartmentId),
			DisplayName:     pulumi.Any(operationsInsightsPrivateEndpointDisplayName),
			IsUsedForRacDbs: pulumi.Any(operationsInsightsPrivateEndpointIsUsedForRacDbs),
			SubnetId:        pulumi.Any(testSubnet.Id),
			VcnId:           pulumi.Any(testVcn.Id),
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			Description: pulumi.Any(operationsInsightsPrivateEndpointDescription),
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
			NsgIds: pulumi.Any(operationsInsightsPrivateEndpointNsgIds),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testOperationsInsightsPrivateEndpoint = new Oci.Opsi.OperationsInsightsPrivateEndpoint("test_operations_insights_private_endpoint", new()
    {
        CompartmentId = compartmentId,
        DisplayName = operationsInsightsPrivateEndpointDisplayName,
        IsUsedForRacDbs = operationsInsightsPrivateEndpointIsUsedForRacDbs,
        SubnetId = testSubnet.Id,
        VcnId = testVcn.Id,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = operationsInsightsPrivateEndpointDescription,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        NsgIds = operationsInsightsPrivateEndpointNsgIds,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opsi.OperationsInsightsPrivateEndpoint;
import com.pulumi.oci.Opsi.OperationsInsightsPrivateEndpointArgs;
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 testOperationsInsightsPrivateEndpoint = new OperationsInsightsPrivateEndpoint("testOperationsInsightsPrivateEndpoint", OperationsInsightsPrivateEndpointArgs.builder()
            .compartmentId(compartmentId)
            .displayName(operationsInsightsPrivateEndpointDisplayName)
            .isUsedForRacDbs(operationsInsightsPrivateEndpointIsUsedForRacDbs)
            .subnetId(testSubnet.id())
            .vcnId(testVcn.id())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(operationsInsightsPrivateEndpointDescription)
            .freeformTags(Map.of("bar-key", "value"))
            .nsgIds(operationsInsightsPrivateEndpointNsgIds)
            .build());

    }
}
Copy
resources:
  testOperationsInsightsPrivateEndpoint:
    type: oci:Opsi:OperationsInsightsPrivateEndpoint
    name: test_operations_insights_private_endpoint
    properties:
      compartmentId: ${compartmentId}
      displayName: ${operationsInsightsPrivateEndpointDisplayName}
      isUsedForRacDbs: ${operationsInsightsPrivateEndpointIsUsedForRacDbs}
      subnetId: ${testSubnet.id}
      vcnId: ${testVcn.id}
      definedTags:
        foo-namespace.bar-key: value
      description: ${operationsInsightsPrivateEndpointDescription}
      freeformTags:
        bar-key: value
      nsgIds: ${operationsInsightsPrivateEndpointNsgIds}
Copy

Create OperationsInsightsPrivateEndpoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new OperationsInsightsPrivateEndpoint(name: string, args: OperationsInsightsPrivateEndpointArgs, opts?: CustomResourceOptions);
@overload
def OperationsInsightsPrivateEndpoint(resource_name: str,
                                      args: OperationsInsightsPrivateEndpointArgs,
                                      opts: Optional[ResourceOptions] = None)

@overload
def OperationsInsightsPrivateEndpoint(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      compartment_id: Optional[str] = None,
                                      display_name: Optional[str] = None,
                                      is_used_for_rac_dbs: Optional[bool] = None,
                                      subnet_id: Optional[str] = None,
                                      vcn_id: Optional[str] = None,
                                      defined_tags: Optional[Mapping[str, str]] = None,
                                      description: Optional[str] = None,
                                      freeform_tags: Optional[Mapping[str, str]] = None,
                                      nsg_ids: Optional[Sequence[str]] = None,
                                      private_endpoint_status_details: Optional[str] = None)
func NewOperationsInsightsPrivateEndpoint(ctx *Context, name string, args OperationsInsightsPrivateEndpointArgs, opts ...ResourceOption) (*OperationsInsightsPrivateEndpoint, error)
public OperationsInsightsPrivateEndpoint(string name, OperationsInsightsPrivateEndpointArgs args, CustomResourceOptions? opts = null)
public OperationsInsightsPrivateEndpoint(String name, OperationsInsightsPrivateEndpointArgs args)
public OperationsInsightsPrivateEndpoint(String name, OperationsInsightsPrivateEndpointArgs args, CustomResourceOptions options)
type: oci:Opsi:OperationsInsightsPrivateEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OperationsInsightsPrivateEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OperationsInsightsPrivateEndpointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OperationsInsightsPrivateEndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OperationsInsightsPrivateEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OperationsInsightsPrivateEndpointArgs
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 operationsInsightsPrivateEndpointResource = new Oci.Opsi.OperationsInsightsPrivateEndpoint("operationsInsightsPrivateEndpointResource", new()
{
    CompartmentId = "string",
    DisplayName = "string",
    IsUsedForRacDbs = false,
    SubnetId = "string",
    VcnId = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    Description = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    NsgIds = new[]
    {
        "string",
    },
    PrivateEndpointStatusDetails = "string",
});
Copy
example, err := Opsi.NewOperationsInsightsPrivateEndpoint(ctx, "operationsInsightsPrivateEndpointResource", &Opsi.OperationsInsightsPrivateEndpointArgs{
	CompartmentId:   pulumi.String("string"),
	DisplayName:     pulumi.String("string"),
	IsUsedForRacDbs: pulumi.Bool(false),
	SubnetId:        pulumi.String("string"),
	VcnId:           pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	NsgIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	PrivateEndpointStatusDetails: pulumi.String("string"),
})
Copy
var operationsInsightsPrivateEndpointResource = new OperationsInsightsPrivateEndpoint("operationsInsightsPrivateEndpointResource", OperationsInsightsPrivateEndpointArgs.builder()
    .compartmentId("string")
    .displayName("string")
    .isUsedForRacDbs(false)
    .subnetId("string")
    .vcnId("string")
    .definedTags(Map.of("string", "string"))
    .description("string")
    .freeformTags(Map.of("string", "string"))
    .nsgIds("string")
    .privateEndpointStatusDetails("string")
    .build());
Copy
operations_insights_private_endpoint_resource = oci.opsi.OperationsInsightsPrivateEndpoint("operationsInsightsPrivateEndpointResource",
    compartment_id="string",
    display_name="string",
    is_used_for_rac_dbs=False,
    subnet_id="string",
    vcn_id="string",
    defined_tags={
        "string": "string",
    },
    description="string",
    freeform_tags={
        "string": "string",
    },
    nsg_ids=["string"],
    private_endpoint_status_details="string")
Copy
const operationsInsightsPrivateEndpointResource = new oci.opsi.OperationsInsightsPrivateEndpoint("operationsInsightsPrivateEndpointResource", {
    compartmentId: "string",
    displayName: "string",
    isUsedForRacDbs: false,
    subnetId: "string",
    vcnId: "string",
    definedTags: {
        string: "string",
    },
    description: "string",
    freeformTags: {
        string: "string",
    },
    nsgIds: ["string"],
    privateEndpointStatusDetails: "string",
});
Copy
type: oci:Opsi:OperationsInsightsPrivateEndpoint
properties:
    compartmentId: string
    definedTags:
        string: string
    description: string
    displayName: string
    freeformTags:
        string: string
    isUsedForRacDbs: false
    nsgIds:
        - string
    privateEndpointStatusDetails: string
    subnetId: string
    vcnId: string
Copy

OperationsInsightsPrivateEndpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The OperationsInsightsPrivateEndpoint resource accepts the following input properties:

CompartmentId This property is required. string
(Updatable) The compartment OCID of the Private service accessed database.
DisplayName This property is required. string
(Updatable) The display name for the private endpoint. It is changeable.
IsUsedForRacDbs
This property is required.
Changes to this property will trigger replacement.
bool
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
The Subnet OCID of the Private service accessed database.
VcnId
This property is required.
Changes to this property will trigger replacement.
string

The VCN OCID of the Private service accessed database.

** 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

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) The description of the private endpoint.
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"}
NsgIds List<string>
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
PrivateEndpointStatusDetails string
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
CompartmentId This property is required. string
(Updatable) The compartment OCID of the Private service accessed database.
DisplayName This property is required. string
(Updatable) The display name for the private endpoint. It is changeable.
IsUsedForRacDbs
This property is required.
Changes to this property will trigger replacement.
bool
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
SubnetId
This property is required.
Changes to this property will trigger replacement.
string
The Subnet OCID of the Private service accessed database.
VcnId
This property is required.
Changes to this property will trigger replacement.
string

The VCN OCID of the Private service accessed database.

** 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

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) The description of the private endpoint.
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"}
NsgIds []string
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
PrivateEndpointStatusDetails string
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
compartmentId This property is required. String
(Updatable) The compartment OCID of the Private service accessed database.
displayName This property is required. String
(Updatable) The display name for the private endpoint. It is changeable.
isUsedForRacDbs
This property is required.
Changes to this property will trigger replacement.
Boolean
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
The Subnet OCID of the Private service accessed database.
vcnId
This property is required.
Changes to this property will trigger replacement.
String

The VCN OCID of the Private service accessed database.

** 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

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) The description of the private endpoint.
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"}
nsgIds List<String>
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
privateEndpointStatusDetails String
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
compartmentId This property is required. string
(Updatable) The compartment OCID of the Private service accessed database.
displayName This property is required. string
(Updatable) The display name for the private endpoint. It is changeable.
isUsedForRacDbs
This property is required.
Changes to this property will trigger replacement.
boolean
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
subnetId
This property is required.
Changes to this property will trigger replacement.
string
The Subnet OCID of the Private service accessed database.
vcnId
This property is required.
Changes to this property will trigger replacement.
string

The VCN OCID of the Private service accessed database.

** 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

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) The description of the private endpoint.
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"}
nsgIds string[]
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
privateEndpointStatusDetails string
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
compartment_id This property is required. str
(Updatable) The compartment OCID of the Private service accessed database.
display_name This property is required. str
(Updatable) The display name for the private endpoint. It is changeable.
is_used_for_rac_dbs
This property is required.
Changes to this property will trigger replacement.
bool
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
subnet_id
This property is required.
Changes to this property will trigger replacement.
str
The Subnet OCID of the Private service accessed database.
vcn_id
This property is required.
Changes to this property will trigger replacement.
str

The VCN OCID of the Private service accessed database.

** 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

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) The description of the private endpoint.
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"}
nsg_ids Sequence[str]
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
private_endpoint_status_details str
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
compartmentId This property is required. String
(Updatable) The compartment OCID of the Private service accessed database.
displayName This property is required. String
(Updatable) The display name for the private endpoint. It is changeable.
isUsedForRacDbs
This property is required.
Changes to this property will trigger replacement.
Boolean
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
subnetId
This property is required.
Changes to this property will trigger replacement.
String
The Subnet OCID of the Private service accessed database.
vcnId
This property is required.
Changes to this property will trigger replacement.
String

The VCN OCID of the Private service accessed database.

** 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

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) The description of the private endpoint.
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"}
nsgIds List<String>
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
privateEndpointStatusDetails String
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.

Outputs

All input properties are implicitly available as output properties. Additionally, the OperationsInsightsPrivateEndpoint resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
PrivateIp string
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
State string
The current state of the private endpoint.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the private endpoint was created, in the format defined by RFC3339.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
PrivateIp string
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
State string
The current state of the private endpoint.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the private endpoint was created, in the format defined by RFC3339.
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
privateIp String
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state String
The current state of the private endpoint.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the private endpoint was created, in the format defined by RFC3339.
id string
The provider-assigned unique ID for this managed resource.
lifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
privateIp string
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state string
The current state of the private endpoint.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The date and time the private endpoint was created, in the format defined by RFC3339.
id str
The provider-assigned unique ID for this managed resource.
lifecycle_details str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
private_ip str
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state str
The current state of the private endpoint.
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The date and time the private endpoint was created, in the format defined by RFC3339.
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
privateIp String
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state String
The current state of the private endpoint.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the private endpoint was created, in the format defined by RFC3339.

Look up Existing OperationsInsightsPrivateEndpoint Resource

Get an existing OperationsInsightsPrivateEndpoint 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?: OperationsInsightsPrivateEndpointState, opts?: CustomResourceOptions): OperationsInsightsPrivateEndpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: 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,
        is_used_for_rac_dbs: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        nsg_ids: Optional[Sequence[str]] = None,
        private_endpoint_status_details: Optional[str] = None,
        private_ip: Optional[str] = None,
        state: Optional[str] = None,
        subnet_id: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        vcn_id: Optional[str] = None) -> OperationsInsightsPrivateEndpoint
func GetOperationsInsightsPrivateEndpoint(ctx *Context, name string, id IDInput, state *OperationsInsightsPrivateEndpointState, opts ...ResourceOption) (*OperationsInsightsPrivateEndpoint, error)
public static OperationsInsightsPrivateEndpoint Get(string name, Input<string> id, OperationsInsightsPrivateEndpointState? state, CustomResourceOptions? opts = null)
public static OperationsInsightsPrivateEndpoint get(String name, Output<String> id, OperationsInsightsPrivateEndpointState state, CustomResourceOptions options)
resources:  _:    type: oci:Opsi:OperationsInsightsPrivateEndpoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CompartmentId string
(Updatable) The compartment OCID of the Private service accessed database.
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) The description of the private endpoint.
DisplayName string
(Updatable) The display name for the private endpoint. It is changeable.
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"}
IsUsedForRacDbs Changes to this property will trigger replacement. bool
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
NsgIds List<string>
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
PrivateEndpointStatusDetails string
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
PrivateIp string
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
State string
The current state of the private endpoint.
SubnetId Changes to this property will trigger replacement. string
The Subnet OCID of the Private service accessed database.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the private endpoint was created, in the format defined by RFC3339.
VcnId Changes to this property will trigger replacement. string

The VCN OCID of the Private service accessed database.

** 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) The compartment OCID of the Private service accessed database.
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) The description of the private endpoint.
DisplayName string
(Updatable) The display name for the private endpoint. It is changeable.
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"}
IsUsedForRacDbs Changes to this property will trigger replacement. bool
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
NsgIds []string
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
PrivateEndpointStatusDetails string
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
PrivateIp string
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
State string
The current state of the private endpoint.
SubnetId Changes to this property will trigger replacement. string
The Subnet OCID of the Private service accessed database.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the private endpoint was created, in the format defined by RFC3339.
VcnId Changes to this property will trigger replacement. string

The VCN OCID of the Private service accessed database.

** 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) The compartment OCID of the Private service accessed database.
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) The description of the private endpoint.
displayName String
(Updatable) The display name for the private endpoint. It is changeable.
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"}
isUsedForRacDbs Changes to this property will trigger replacement. Boolean
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
nsgIds List<String>
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
privateEndpointStatusDetails String
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
privateIp String
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state String
The current state of the private endpoint.
subnetId Changes to this property will trigger replacement. String
The Subnet OCID of the Private service accessed database.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the private endpoint was created, in the format defined by RFC3339.
vcnId Changes to this property will trigger replacement. String

The VCN OCID of the Private service accessed database.

** 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) The compartment OCID of the Private service accessed database.
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) The description of the private endpoint.
displayName string
(Updatable) The display name for the private endpoint. It is changeable.
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"}
isUsedForRacDbs Changes to this property will trigger replacement. boolean
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
lifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
nsgIds string[]
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
privateEndpointStatusDetails string
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
privateIp string
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state string
The current state of the private endpoint.
subnetId Changes to this property will trigger replacement. string
The Subnet OCID of the Private service accessed database.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The date and time the private endpoint was created, in the format defined by RFC3339.
vcnId Changes to this property will trigger replacement. string

The VCN OCID of the Private service accessed database.

** 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) The compartment OCID of the Private service accessed database.
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) The description of the private endpoint.
display_name str
(Updatable) The display name for the private endpoint. It is changeable.
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"}
is_used_for_rac_dbs Changes to this property will trigger replacement. bool
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
lifecycle_details str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
nsg_ids Sequence[str]
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
private_endpoint_status_details str
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
private_ip str
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state str
The current state of the private endpoint.
subnet_id Changes to this property will trigger replacement. str
The Subnet OCID of the Private service accessed database.
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The date and time the private endpoint was created, in the format defined by RFC3339.
vcn_id Changes to this property will trigger replacement. str

The VCN OCID of the Private service accessed database.

** 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) The compartment OCID of the Private service accessed database.
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) The description of the private endpoint.
displayName String
(Updatable) The display name for the private endpoint. It is changeable.
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"}
isUsedForRacDbs Changes to this property will trigger replacement. Boolean
This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a DNS proxy causing isProxyEnabled flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
nsgIds List<String>
(Updatable) The OCID of the network security groups that the private endpoint belongs to.
privateEndpointStatusDetails String
A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection.
privateIp String
The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
state String
The current state of the private endpoint.
subnetId Changes to this property will trigger replacement. String
The Subnet OCID of the Private service accessed database.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the private endpoint was created, in the format defined by RFC3339.
vcnId Changes to this property will trigger replacement. String

The VCN OCID of the Private service accessed database.

** 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

Import

OperationsInsightsPrivateEndpoints can be imported using the id, e.g.

$ pulumi import oci:Opsi/operationsInsightsPrivateEndpoint:OperationsInsightsPrivateEndpoint test_operations_insights_private_endpoint "id"
Copy

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.