Oracle Cloud Infrastructure
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:
- Compartment
Id string The OCID of the compartment.
- Compartment
Id boolIn Subtree A flag to search all resources within a given compartment and all sub-compartments.
- Display
Name string A filter to return only resources that match the entire display name.
- Filters
List<Get
Operations Insights Private Endpoints Filter> - Is
Used boolFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- Opsi
Private stringEndpoint Id Unique Operations Insights PrivateEndpoint identifier
- States List<string>
Lifecycle states
- Vcn
Id string The OCID of the VCN.
- Compartment
Id string The OCID of the compartment.
- Compartment
Id boolIn Subtree A flag to search all resources within a given compartment and all sub-compartments.
- Display
Name string A filter to return only resources that match the entire display name.
- Filters
[]Get
Operations Insights Private Endpoints Filter - Is
Used boolFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- Opsi
Private stringEndpoint Id Unique Operations Insights PrivateEndpoint identifier
- States []string
Lifecycle states
- Vcn
Id string The OCID of the VCN.
- compartment
Id String The OCID of the compartment.
- compartment
Id BooleanIn Subtree A flag to search all resources within a given compartment and all sub-compartments.
- display
Name String A filter to return only resources that match the entire display name.
- filters
List<Get
Operations Insights Private Endpoints Filter> - is
Used BooleanFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- opsi
Private StringEndpoint Id Unique Operations Insights PrivateEndpoint identifier
- states List<String>
Lifecycle states
- vcn
Id String The OCID of the VCN.
- compartment
Id string The OCID of the compartment.
- compartment
Id booleanIn Subtree A flag to search all resources within a given compartment and all sub-compartments.
- display
Name string A filter to return only resources that match the entire display name.
- filters
Get
Operations Insights Private Endpoints Filter[] - is
Used booleanFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- opsi
Private stringEndpoint Id Unique Operations Insights PrivateEndpoint identifier
- states string[]
Lifecycle states
- vcn
Id string The OCID of the VCN.
- compartment_
id str The OCID of the compartment.
- compartment_
id_ boolin_ subtree 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
Get
Operations Insights Private Endpoints Filter] - is_
used_ boolfor_ rac_ dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- opsi_
private_ strendpoint_ id Unique Operations Insights PrivateEndpoint identifier
- states Sequence[str]
Lifecycle states
- vcn_
id str The OCID of the VCN.
- compartment
Id String The OCID of the compartment.
- compartment
Id BooleanIn Subtree A flag to search all resources within a given compartment and all sub-compartments.
- display
Name String A filter to return only resources that match the entire display name.
- filters List<Property Map>
- is
Used BooleanFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- opsi
Private StringEndpoint Id Unique Operations Insights PrivateEndpoint identifier
- states List<String>
Lifecycle states
- vcn
Id 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.
- Operations
Insights List<GetPrivate Endpoint Collections Operations Insights Private Endpoints Operations Insights Private Endpoint Collection> The list of operations_insights_private_endpoint_collection.
- Compartment
Id string The compartment OCID of the Private service accessed database.
- Compartment
Id boolIn Subtree - Display
Name string The display name of the private endpoint.
- Filters
List<Get
Operations Insights Private Endpoints Filter> - Is
Used boolFor Rac Dbs The flag is to identify if private endpoint is used for rac database or not
- Opsi
Private stringEndpoint Id - States List<string>
The current state of the private endpoint.
- Vcn
Id string The OCID of the VCN.
- Id string
The provider-assigned unique ID for this managed resource.
- Operations
Insights []GetPrivate Endpoint Collections Operations Insights Private Endpoints Operations Insights Private Endpoint Collection The list of operations_insights_private_endpoint_collection.
- Compartment
Id string The compartment OCID of the Private service accessed database.
- Compartment
Id boolIn Subtree - Display
Name string The display name of the private endpoint.
- Filters
[]Get
Operations Insights Private Endpoints Filter - Is
Used boolFor Rac Dbs The flag is to identify if private endpoint is used for rac database or not
- Opsi
Private stringEndpoint Id - States []string
The current state of the private endpoint.
- Vcn
Id string The OCID of the VCN.
- id String
The provider-assigned unique ID for this managed resource.
- operations
Insights List<GetPrivate Endpoint Collections Operations Insights Private Endpoints Operations Insights Private Endpoint Collection> The list of operations_insights_private_endpoint_collection.
- compartment
Id String The compartment OCID of the Private service accessed database.
- compartment
Id BooleanIn Subtree - display
Name String The display name of the private endpoint.
- filters
List<Get
Operations Insights Private Endpoints Filter> - is
Used BooleanFor Rac Dbs The flag is to identify if private endpoint is used for rac database or not
- opsi
Private StringEndpoint Id - states List<String>
The current state of the private endpoint.
- vcn
Id String The OCID of the VCN.
- id string
The provider-assigned unique ID for this managed resource.
- operations
Insights GetPrivate Endpoint Collections Operations Insights Private Endpoints Operations Insights Private Endpoint Collection[] The list of operations_insights_private_endpoint_collection.
- compartment
Id string The compartment OCID of the Private service accessed database.
- compartment
Id booleanIn Subtree - display
Name string The display name of the private endpoint.
- filters
Get
Operations Insights Private Endpoints Filter[] - is
Used booleanFor Rac Dbs The flag is to identify if private endpoint is used for rac database or not
- opsi
Private stringEndpoint Id - states string[]
The current state of the private endpoint.
- vcn
Id string The OCID of the VCN.
- id str
The provider-assigned unique ID for this managed resource.
- operations_
insights_ Getprivate_ endpoint_ collections Operations Insights Private Endpoints Operations Insights Private Endpoint Collection] The list of operations_insights_private_endpoint_collection.
- compartment_
id str The compartment OCID of the Private service accessed database.
- compartment_
id_ boolin_ subtree - display_
name str The display name of the private endpoint.
- filters
Get
Operations Insights Private Endpoints Filter] - is_
used_ boolfor_ rac_ dbs The flag is to identify if private endpoint is used for rac database or not
- opsi_
private_ strendpoint_ id - 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.
- operations
Insights List<Property Map>Private Endpoint Collections The list of operations_insights_private_endpoint_collection.
- compartment
Id String The compartment OCID of the Private service accessed database.
- compartment
Id BooleanIn Subtree - display
Name String The display name of the private endpoint.
- filters List<Property Map>
- is
Used BooleanFor Rac Dbs The flag is to identify if private endpoint is used for rac database or not
- opsi
Private StringEndpoint Id - states List<String>
The current state of the private endpoint.
- vcn
Id String The OCID of the VCN.
Supporting Types
GetOperationsInsightsPrivateEndpointsFilter
GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollection
GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollectionItem
- Compartment
Id string The OCID of the compartment.
- 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.
- Display
Name string A filter to return only resources that match the entire display name.
- 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.
- Is
Used boolFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- Lifecycle
Details 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.
- Nsg
Ids List<string> The OCIDs of the network security groups that the private endpoint belongs to.
- Private
Endpoint stringStatus Details 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 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
- Subnet
Id string The OCID of the subnet.
- Dictionary<string, object>
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the private endpoint was created, in the format defined by RFC3339.
- Vcn
Id string The OCID of the VCN.
- Compartment
Id string The OCID of the compartment.
- 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.
- Display
Name string A filter to return only resources that match the entire display name.
- 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.
- Is
Used boolFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- Lifecycle
Details 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.
- Nsg
Ids []string The OCIDs of the network security groups that the private endpoint belongs to.
- Private
Endpoint stringStatus Details 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 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
- Subnet
Id string The OCID of the subnet.
- map[string]interface{}
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the private endpoint was created, in the format defined by RFC3339.
- Vcn
Id string The OCID of the VCN.
- compartment
Id String The OCID of the compartment.
- 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.
- display
Name String A filter to return only resources that match the entire display name.
- 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.
- is
Used BooleanFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- lifecycle
Details 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.
- nsg
Ids List<String> The OCIDs of the network security groups that the private endpoint belongs to.
- private
Endpoint StringStatus Details 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 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
- subnet
Id String The OCID of the subnet.
- Map<String,Object>
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the private endpoint was created, in the format defined by RFC3339.
- vcn
Id String The OCID of the VCN.
- compartment
Id string The OCID of the compartment.
- {[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.
- display
Name string A filter to return only resources that match the entire display name.
- {[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.
- is
Used booleanFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- lifecycle
Details 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.
- nsg
Ids string[] The OCIDs of the network security groups that the private endpoint belongs to.
- private
Endpoint stringStatus Details 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 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
- subnet
Id string The OCID of the subnet.
- {[key: string]: any}
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The date and time the private endpoint was created, in the format defined by RFC3339.
- vcn
Id string The OCID of the VCN.
- compartment_
id str The OCID of the compartment.
- 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.
- 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_ boolfor_ rac_ dbs 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_ strstatus_ details 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.
- 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.
- compartment
Id String The OCID of the compartment.
- 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.
- display
Name String A filter to return only resources that match the entire display name.
- 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.
- is
Used BooleanFor Rac Dbs The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- lifecycle
Details 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.
- nsg
Ids List<String> The OCIDs of the network security groups that the private endpoint belongs to.
- private
Endpoint StringStatus Details 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 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
- subnet
Id String The OCID of the subnet.
- Map<Any>
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the private endpoint was created, in the format defined by RFC3339.
- vcn
Id 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.