1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getOperationsInsightsPrivateEndpoint
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Opsi.getOperationsInsightsPrivateEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides details about a specific Operations Insights Private Endpoint resource in Oracle Cloud Infrastructure Opsi service.

    Gets the details of the specified private endpoint.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOperationsInsightsPrivateEndpoint = oci.Opsi.getOperationsInsightsPrivateEndpoint({
        operationsInsightsPrivateEndpointId: testOperationsInsightsPrivateEndpointOciOpsiOperationsInsightsPrivateEndpoint.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_operations_insights_private_endpoint = oci.Opsi.get_operations_insights_private_endpoint(operations_insights_private_endpoint_id=test_operations_insights_private_endpoint_oci_opsi_operations_insights_private_endpoint["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.GetOperationsInsightsPrivateEndpoint(ctx, &opsi.GetOperationsInsightsPrivateEndpointArgs{
    			OperationsInsightsPrivateEndpointId: testOperationsInsightsPrivateEndpointOciOpsiOperationsInsightsPrivateEndpoint.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testOperationsInsightsPrivateEndpoint = Oci.Opsi.GetOperationsInsightsPrivateEndpoint.Invoke(new()
        {
            OperationsInsightsPrivateEndpointId = testOperationsInsightsPrivateEndpointOciOpsiOperationsInsightsPrivateEndpoint.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Opsi.OpsiFunctions;
    import com.pulumi.oci.Opsi.inputs.GetOperationsInsightsPrivateEndpointArgs;
    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) {
            final var testOperationsInsightsPrivateEndpoint = OpsiFunctions.getOperationsInsightsPrivateEndpoint(GetOperationsInsightsPrivateEndpointArgs.builder()
                .operationsInsightsPrivateEndpointId(testOperationsInsightsPrivateEndpointOciOpsiOperationsInsightsPrivateEndpoint.id())
                .build());
    
        }
    }
    
    variables:
      testOperationsInsightsPrivateEndpoint:
        fn::invoke:
          Function: oci:Opsi:getOperationsInsightsPrivateEndpoint
          Arguments:
            operationsInsightsPrivateEndpointId: ${testOperationsInsightsPrivateEndpointOciOpsiOperationsInsightsPrivateEndpoint.id}
    

    Using getOperationsInsightsPrivateEndpoint

    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 getOperationsInsightsPrivateEndpoint(args: GetOperationsInsightsPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetOperationsInsightsPrivateEndpointResult>
    function getOperationsInsightsPrivateEndpointOutput(args: GetOperationsInsightsPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetOperationsInsightsPrivateEndpointResult>
    def get_operations_insights_private_endpoint(operations_insights_private_endpoint_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetOperationsInsightsPrivateEndpointResult
    def get_operations_insights_private_endpoint_output(operations_insights_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetOperationsInsightsPrivateEndpointResult]
    func GetOperationsInsightsPrivateEndpoint(ctx *Context, args *GetOperationsInsightsPrivateEndpointArgs, opts ...InvokeOption) (*GetOperationsInsightsPrivateEndpointResult, error)
    func GetOperationsInsightsPrivateEndpointOutput(ctx *Context, args *GetOperationsInsightsPrivateEndpointOutputArgs, opts ...InvokeOption) GetOperationsInsightsPrivateEndpointResultOutput

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

    public static class GetOperationsInsightsPrivateEndpoint 
    {
        public static Task<GetOperationsInsightsPrivateEndpointResult> InvokeAsync(GetOperationsInsightsPrivateEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetOperationsInsightsPrivateEndpointResult> Invoke(GetOperationsInsightsPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOperationsInsightsPrivateEndpointResult> getOperationsInsightsPrivateEndpoint(GetOperationsInsightsPrivateEndpointArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Opsi/getOperationsInsightsPrivateEndpoint:getOperationsInsightsPrivateEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OperationsInsightsPrivateEndpointId string
    The OCID of the Operation Insights private endpoint.
    OperationsInsightsPrivateEndpointId string
    The OCID of the Operation Insights private endpoint.
    operationsInsightsPrivateEndpointId String
    The OCID of the Operation Insights private endpoint.
    operationsInsightsPrivateEndpointId string
    The OCID of the Operation Insights private endpoint.
    operations_insights_private_endpoint_id str
    The OCID of the Operation Insights private endpoint.
    operationsInsightsPrivateEndpointId String
    The OCID of the Operation Insights private endpoint.

    getOperationsInsightsPrivateEndpoint Result

    The following output properties are available:

    CompartmentId string
    The compartment OCID of the Private service accessed database.
    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
    The display name of the private endpoint.
    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 flag is to identify if private endpoint is used for rac database or not
    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.
    OperationsInsightsPrivateEndpointId string
    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 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 compartment OCID of the Private service accessed database.
    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
    The display name of the private endpoint.
    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 flag is to identify if private endpoint is used for rac database or not
    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.
    OperationsInsightsPrivateEndpointId string
    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 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 compartment OCID of the Private service accessed database.
    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
    The display name of the private endpoint.
    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 flag is to identify if private endpoint is used for rac database or not
    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.
    operationsInsightsPrivateEndpointId String
    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 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 compartment OCID of the Private service accessed database.
    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
    The display name of the private endpoint.
    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 flag is to identify if private endpoint is used for rac database or not
    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.
    operationsInsightsPrivateEndpointId string
    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 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 compartment OCID of the Private service accessed database.
    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
    The display name of the private endpoint.
    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 flag is to identify if private endpoint is used for rac database or not
    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.
    operations_insights_private_endpoint_id str
    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 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 compartment OCID of the Private service accessed database.
    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
    The display name of the private endpoint.
    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 flag is to identify if private endpoint is used for rac database or not
    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.
    operationsInsightsPrivateEndpointId String
    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 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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi