Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getOperationsInsightsPrivateEndpoints

This data source provides the list of Operations Insights Private Endpoints in Oracle Cloud Infrastructure Opsi service.

Gets a list of Operation Insights private endpoints.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testOperationsInsightsPrivateEndpoints = Output.Create(Oci.Opsi.GetOperationsInsightsPrivateEndpoints.InvokeAsync(new Oci.Opsi.GetOperationsInsightsPrivateEndpointsArgs
        {
            CompartmentId = @var.Compartment_id,
            CompartmentIdInSubtree = @var.Operations_insights_private_endpoint_compartment_id_in_subtree,
            DisplayName = @var.Operations_insights_private_endpoint_display_name,
            IsUsedForRacDbs = @var.Operations_insights_private_endpoint_is_used_for_rac_dbs,
            OpsiPrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id,
            States = @var.Operations_insights_private_endpoint_state,
            VcnId = oci_core_vcn.Test_vcn.Id,
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Opsi.GetOperationsInsightsPrivateEndpoints(ctx, &opsi.GetOperationsInsightsPrivateEndpointsArgs{
			CompartmentId:          pulumi.StringRef(_var.Compartment_id),
			CompartmentIdInSubtree: pulumi.BoolRef(_var.Operations_insights_private_endpoint_compartment_id_in_subtree),
			DisplayName:            pulumi.StringRef(_var.Operations_insights_private_endpoint_display_name),
			IsUsedForRacDbs:        pulumi.BoolRef(_var.Operations_insights_private_endpoint_is_used_for_rac_dbs),
			OpsiPrivateEndpointId:  pulumi.StringRef(oci_dataflow_private_endpoint.Test_private_endpoint.Id),
			States:                 _var.Operations_insights_private_endpoint_state,
			VcnId:                  pulumi.StringRef(oci_core_vcn.Test_vcn.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_operations_insights_private_endpoints = oci.Opsi.get_operations_insights_private_endpoints(compartment_id=var["compartment_id"],
    compartment_id_in_subtree=var["operations_insights_private_endpoint_compartment_id_in_subtree"],
    display_name=var["operations_insights_private_endpoint_display_name"],
    is_used_for_rac_dbs=var["operations_insights_private_endpoint_is_used_for_rac_dbs"],
    opsi_private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"],
    states=var["operations_insights_private_endpoint_state"],
    vcn_id=oci_core_vcn["test_vcn"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOperationsInsightsPrivateEndpoints = oci.Opsi.getOperationsInsightsPrivateEndpoints({
    compartmentId: _var.compartment_id,
    compartmentIdInSubtree: _var.operations_insights_private_endpoint_compartment_id_in_subtree,
    displayName: _var.operations_insights_private_endpoint_display_name,
    isUsedForRacDbs: _var.operations_insights_private_endpoint_is_used_for_rac_dbs,
    opsiPrivateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id,
    states: _var.operations_insights_private_endpoint_state,
    vcnId: oci_core_vcn.test_vcn.id,
});

Coming soon!

Using getOperationsInsightsPrivateEndpoints

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOperationsInsightsPrivateEndpoints(args: GetOperationsInsightsPrivateEndpointsArgs, opts?: InvokeOptions): Promise<GetOperationsInsightsPrivateEndpointsResult>
function getOperationsInsightsPrivateEndpointsOutput(args: GetOperationsInsightsPrivateEndpointsOutputArgs, opts?: InvokeOptions): Output<GetOperationsInsightsPrivateEndpointsResult>
def get_operations_insights_private_endpoints(compartment_id: Optional[str] = None,
                                              compartment_id_in_subtree: Optional[bool] = None,
                                              display_name: Optional[str] = None,
                                              filters: Optional[Sequence[_opsi.GetOperationsInsightsPrivateEndpointsFilter]] = None,
                                              is_used_for_rac_dbs: Optional[bool] = None,
                                              opsi_private_endpoint_id: Optional[str] = None,
                                              states: Optional[Sequence[str]] = None,
                                              vcn_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetOperationsInsightsPrivateEndpointsResult
def get_operations_insights_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                              compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                              display_name: Optional[pulumi.Input[str]] = None,
                                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[_opsi.GetOperationsInsightsPrivateEndpointsFilterArgs]]]] = None,
                                              is_used_for_rac_dbs: Optional[pulumi.Input[bool]] = None,
                                              opsi_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                              states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                              vcn_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetOperationsInsightsPrivateEndpointsResult]
func GetOperationsInsightsPrivateEndpoints(ctx *Context, args *GetOperationsInsightsPrivateEndpointsArgs, opts ...InvokeOption) (*GetOperationsInsightsPrivateEndpointsResult, error)
func GetOperationsInsightsPrivateEndpointsOutput(ctx *Context, args *GetOperationsInsightsPrivateEndpointsOutputArgs, opts ...InvokeOption) GetOperationsInsightsPrivateEndpointsResultOutput

> Note: This function is named GetOperationsInsightsPrivateEndpoints in the Go SDK.

public static class GetOperationsInsightsPrivateEndpoints 
{
    public static Task<GetOperationsInsightsPrivateEndpointsResult> InvokeAsync(GetOperationsInsightsPrivateEndpointsArgs args, InvokeOptions? opts = null)
    public static Output<GetOperationsInsightsPrivateEndpointsResult> Invoke(GetOperationsInsightsPrivateEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOperationsInsightsPrivateEndpointsResult> getOperationsInsightsPrivateEndpoints(GetOperationsInsightsPrivateEndpointsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Opsi/getOperationsInsightsPrivateEndpoints:getOperationsInsightsPrivateEndpoints
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

The OCID of the compartment.

CompartmentIdInSubtree bool

A flag to search all resources within a given compartment and all sub-compartments.

DisplayName string

A filter to return only resources that match the entire display name.

Filters List<GetOperationsInsightsPrivateEndpointsFilter>
IsUsedForRacDbs bool

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

OpsiPrivateEndpointId string

Unique Operations Insights PrivateEndpoint identifier

States List<string>

Lifecycle states

VcnId string

The OCID of the VCN.

CompartmentId string

The OCID of the compartment.

CompartmentIdInSubtree bool

A flag to search all resources within a given compartment and all sub-compartments.

DisplayName string

A filter to return only resources that match the entire display name.

Filters []GetOperationsInsightsPrivateEndpointsFilter
IsUsedForRacDbs bool

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

OpsiPrivateEndpointId string

Unique Operations Insights PrivateEndpoint identifier

States []string

Lifecycle states

VcnId string

The OCID of the VCN.

compartmentId String

The OCID of the compartment.

compartmentIdInSubtree Boolean

A flag to search all resources within a given compartment and all sub-compartments.

displayName String

A filter to return only resources that match the entire display name.

filters List<GetOperationsInsightsPrivateEndpointsFilter>
isUsedForRacDbs Boolean

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

opsiPrivateEndpointId String

Unique Operations Insights PrivateEndpoint identifier

states List<String>

Lifecycle states

vcnId String

The OCID of the VCN.

compartmentId string

The OCID of the compartment.

compartmentIdInSubtree boolean

A flag to search all resources within a given compartment and all sub-compartments.

displayName string

A filter to return only resources that match the entire display name.

filters GetOperationsInsightsPrivateEndpointsFilter[]
isUsedForRacDbs boolean

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

opsiPrivateEndpointId string

Unique Operations Insights PrivateEndpoint identifier

states string[]

Lifecycle states

vcnId string

The OCID of the VCN.

compartment_id str

The OCID of the compartment.

compartment_id_in_subtree bool

A flag to search all resources within a given compartment and all sub-compartments.

display_name str

A filter to return only resources that match the entire display name.

filters GetOperationsInsightsPrivateEndpointsFilter]
is_used_for_rac_dbs bool

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

opsi_private_endpoint_id str

Unique Operations Insights PrivateEndpoint identifier

states Sequence[str]

Lifecycle states

vcn_id str

The OCID of the VCN.

compartmentId String

The OCID of the compartment.

compartmentIdInSubtree Boolean

A flag to search all resources within a given compartment and all sub-compartments.

displayName String

A filter to return only resources that match the entire display name.

filters List<Property Map>
isUsedForRacDbs Boolean

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

opsiPrivateEndpointId String

Unique Operations Insights PrivateEndpoint identifier

states List<String>

Lifecycle states

vcnId String

The OCID of the VCN.

getOperationsInsightsPrivateEndpoints Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

OperationsInsightsPrivateEndpointCollections List<GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollection>

The list of operations_insights_private_endpoint_collection.

CompartmentId string

The compartment OCID of the Private service accessed database.

CompartmentIdInSubtree bool
DisplayName string

The display name of the private endpoint.

Filters List<GetOperationsInsightsPrivateEndpointsFilter>
IsUsedForRacDbs bool

The flag is to identify if private endpoint is used for rac database or not

OpsiPrivateEndpointId string
States List<string>

The current state of the private endpoint.

VcnId string

The OCID of the VCN.

Id string

The provider-assigned unique ID for this managed resource.

OperationsInsightsPrivateEndpointCollections []GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollection

The list of operations_insights_private_endpoint_collection.

CompartmentId string

The compartment OCID of the Private service accessed database.

CompartmentIdInSubtree bool
DisplayName string

The display name of the private endpoint.

Filters []GetOperationsInsightsPrivateEndpointsFilter
IsUsedForRacDbs bool

The flag is to identify if private endpoint is used for rac database or not

OpsiPrivateEndpointId string
States []string

The current state of the private endpoint.

VcnId string

The OCID of the VCN.

id String

The provider-assigned unique ID for this managed resource.

operationsInsightsPrivateEndpointCollections List<GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollection>

The list of operations_insights_private_endpoint_collection.

compartmentId String

The compartment OCID of the Private service accessed database.

compartmentIdInSubtree Boolean
displayName String

The display name of the private endpoint.

filters List<GetOperationsInsightsPrivateEndpointsFilter>
isUsedForRacDbs Boolean

The flag is to identify if private endpoint is used for rac database or not

opsiPrivateEndpointId String
states List<String>

The current state of the private endpoint.

vcnId String

The OCID of the VCN.

id string

The provider-assigned unique ID for this managed resource.

operationsInsightsPrivateEndpointCollections GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollection[]

The list of operations_insights_private_endpoint_collection.

compartmentId string

The compartment OCID of the Private service accessed database.

compartmentIdInSubtree boolean
displayName string

The display name of the private endpoint.

filters GetOperationsInsightsPrivateEndpointsFilter[]
isUsedForRacDbs boolean

The flag is to identify if private endpoint is used for rac database or not

opsiPrivateEndpointId string
states string[]

The current state of the private endpoint.

vcnId string

The OCID of the VCN.

id str

The provider-assigned unique ID for this managed resource.

operations_insights_private_endpoint_collections GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollection]

The list of operations_insights_private_endpoint_collection.

compartment_id str

The compartment OCID of the Private service accessed database.

compartment_id_in_subtree bool
display_name str

The display name of the private endpoint.

filters GetOperationsInsightsPrivateEndpointsFilter]
is_used_for_rac_dbs bool

The flag is to identify if private endpoint is used for rac database or not

opsi_private_endpoint_id str
states Sequence[str]

The current state of the private endpoint.

vcn_id str

The OCID of the VCN.

id String

The provider-assigned unique ID for this managed resource.

operationsInsightsPrivateEndpointCollections List<Property Map>

The list of operations_insights_private_endpoint_collection.

compartmentId String

The compartment OCID of the Private service accessed database.

compartmentIdInSubtree Boolean
displayName String

The display name of the private endpoint.

filters List<Property Map>
isUsedForRacDbs Boolean

The flag is to identify if private endpoint is used for rac database or not

opsiPrivateEndpointId String
states List<String>

The current state of the private endpoint.

vcnId String

The OCID of the VCN.

Supporting Types

GetOperationsInsightsPrivateEndpointsFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollection

GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollectionItem

CompartmentId string

The OCID of the compartment.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

The description of the private endpoint.

DisplayName string

A filter to return only resources that match the entire display name.

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The OCID of the Private service accessed database.

IsUsedForRacDbs bool

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

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>

The OCIDs 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

Lifecycle states

SubnetId string

The OCID of the subnet.

SystemTags Dictionary<string, object>

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 string

The OCID of the VCN.

CompartmentId string

The OCID of the compartment.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

The description of the private endpoint.

DisplayName string

A filter to return only resources that match the entire display name.

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The OCID of the Private service accessed database.

IsUsedForRacDbs bool

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

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

The OCIDs 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

Lifecycle states

SubnetId string

The OCID of the subnet.

SystemTags map[string]interface{}

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 string

The OCID of the VCN.

compartmentId String

The OCID of the compartment.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

The description of the private endpoint.

displayName String

A filter to return only resources that match the entire display name.

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The OCID of the Private service accessed database.

isUsedForRacDbs Boolean

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

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>

The OCIDs 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

Lifecycle states

subnetId String

The OCID of the subnet.

systemTags Map<String,Object>

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 String

The OCID of the VCN.

compartmentId string

The OCID of the compartment.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

The description of the private endpoint.

displayName string

A filter to return only resources that match the entire display name.

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id string

The OCID of the Private service accessed database.

isUsedForRacDbs boolean

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

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[]

The OCIDs 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

Lifecycle states

subnetId string

The OCID of the subnet.

systemTags {[key: string]: any}

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 string

The OCID of the VCN.

compartment_id str

The OCID of the compartment.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

The description of the private endpoint.

display_name str

A filter to return only resources that match the entire display name.

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id str

The OCID of the Private service accessed database.

is_used_for_rac_dbs bool

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

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]

The OCIDs 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

Lifecycle states

subnet_id str

The OCID of the subnet.

system_tags Mapping[str, Any]

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 str

The OCID of the VCN.

compartmentId String

The OCID of the compartment.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

The description of the private endpoint.

displayName String

A filter to return only resources that match the entire display name.

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The OCID of the Private service accessed database.

isUsedForRacDbs Boolean

The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.

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>

The OCIDs 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

Lifecycle states

subnetId String

The OCID of the subnet.

systemTags Map<Any>

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 String

The OCID of the VCN.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.