Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Oda.getOdaPrivateEndpoint
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Oda Private Endpoint resource in Oracle Cloud Infrastructure Digital Assistant service.
Gets the specified ODA Private Endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOdaPrivateEndpoint = oci.Oda.getOdaPrivateEndpoint({
odaPrivateEndpointId: testOdaPrivateEndpointOciOdaOdaPrivateEndpoint.id,
});
import pulumi
import pulumi_oci as oci
test_oda_private_endpoint = oci.Oda.get_oda_private_endpoint(oda_private_endpoint_id=test_oda_private_endpoint_oci_oda_oda_private_endpoint["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Oda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Oda.GetOdaPrivateEndpoint(ctx, &oda.GetOdaPrivateEndpointArgs{
OdaPrivateEndpointId: testOdaPrivateEndpointOciOdaOdaPrivateEndpoint.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 testOdaPrivateEndpoint = Oci.Oda.GetOdaPrivateEndpoint.Invoke(new()
{
OdaPrivateEndpointId = testOdaPrivateEndpointOciOdaOdaPrivateEndpoint.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Oda.OdaFunctions;
import com.pulumi.oci.Oda.inputs.GetOdaPrivateEndpointArgs;
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 testOdaPrivateEndpoint = OdaFunctions.getOdaPrivateEndpoint(GetOdaPrivateEndpointArgs.builder()
.odaPrivateEndpointId(testOdaPrivateEndpointOciOdaOdaPrivateEndpoint.id())
.build());
}
}
variables:
testOdaPrivateEndpoint:
fn::invoke:
Function: oci:Oda:getOdaPrivateEndpoint
Arguments:
odaPrivateEndpointId: ${testOdaPrivateEndpointOciOdaOdaPrivateEndpoint.id}
Using getOdaPrivateEndpoint
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 getOdaPrivateEndpoint(args: GetOdaPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetOdaPrivateEndpointResult>
function getOdaPrivateEndpointOutput(args: GetOdaPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetOdaPrivateEndpointResult>
def get_oda_private_endpoint(oda_private_endpoint_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOdaPrivateEndpointResult
def get_oda_private_endpoint_output(oda_private_endpoint_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOdaPrivateEndpointResult]
func GetOdaPrivateEndpoint(ctx *Context, args *GetOdaPrivateEndpointArgs, opts ...InvokeOption) (*GetOdaPrivateEndpointResult, error)
func GetOdaPrivateEndpointOutput(ctx *Context, args *GetOdaPrivateEndpointOutputArgs, opts ...InvokeOption) GetOdaPrivateEndpointResultOutput
> Note: This function is named GetOdaPrivateEndpoint
in the Go SDK.
public static class GetOdaPrivateEndpoint
{
public static Task<GetOdaPrivateEndpointResult> InvokeAsync(GetOdaPrivateEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetOdaPrivateEndpointResult> Invoke(GetOdaPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOdaPrivateEndpointResult> getOdaPrivateEndpoint(GetOdaPrivateEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Oda/getOdaPrivateEndpoint:getOdaPrivateEndpoint
arguments:
# arguments dictionary
The following arguments are supported:
- Oda
Private stringEndpoint Id - Unique ODA Private Endpoint identifier which is the OCID.
- Oda
Private stringEndpoint Id - Unique ODA Private Endpoint identifier which is the OCID.
- oda
Private StringEndpoint Id - Unique ODA Private Endpoint identifier which is the OCID.
- oda
Private stringEndpoint Id - Unique ODA Private Endpoint identifier which is the OCID.
- oda_
private_ strendpoint_ id - Unique ODA Private Endpoint identifier which is the OCID.
- oda
Private StringEndpoint Id - Unique ODA Private Endpoint identifier which is the OCID.
getOdaPrivateEndpoint Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that the ODA private endpoint belongs to.
- Dictionary<string, object>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Description of the ODA private endpoint.
- Display
Name string - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- Dictionary<string, object>
- Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- Id string
- The OCID that was assigned when the ODA private endpoint was created.
- Nsg
Ids List<string> - List of OCIDs of network security groups
- Oda
Private stringEndpoint Id - State string
- The current state of the ODA private endpoint.
- Subnet
Id string - The OCID of the subnet that the private endpoint belongs to.
- Time
Created string - When the resource was created. A date-time string as described in RFC 3339, section 14.29.
- Time
Updated string - When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
- Compartment
Id string - The OCID of the compartment that the ODA private endpoint belongs to.
- map[string]interface{}
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Description of the ODA private endpoint.
- Display
Name string - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- map[string]interface{}
- Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- Id string
- The OCID that was assigned when the ODA private endpoint was created.
- Nsg
Ids []string - List of OCIDs of network security groups
- Oda
Private stringEndpoint Id - State string
- The current state of the ODA private endpoint.
- Subnet
Id string - The OCID of the subnet that the private endpoint belongs to.
- Time
Created string - When the resource was created. A date-time string as described in RFC 3339, section 14.29.
- Time
Updated string - When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
- compartment
Id String - The OCID of the compartment that the ODA private endpoint belongs to.
- Map<String,Object>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Description of the ODA private endpoint.
- display
Name String - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- Map<String,Object>
- Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- id String
- The OCID that was assigned when the ODA private endpoint was created.
- nsg
Ids List<String> - List of OCIDs of network security groups
- oda
Private StringEndpoint Id - state String
- The current state of the ODA private endpoint.
- subnet
Id String - The OCID of the subnet that the private endpoint belongs to.
- time
Created String - When the resource was created. A date-time string as described in RFC 3339, section 14.29.
- time
Updated String - When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
- compartment
Id string - The OCID of the compartment that the ODA private endpoint belongs to.
- {[key: string]: any}
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description string
- Description of the ODA private endpoint.
- display
Name string - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- {[key: string]: any}
- Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- id string
- The OCID that was assigned when the ODA private endpoint was created.
- nsg
Ids string[] - List of OCIDs of network security groups
- oda
Private stringEndpoint Id - state string
- The current state of the ODA private endpoint.
- subnet
Id string - The OCID of the subnet that the private endpoint belongs to.
- time
Created string - When the resource was created. A date-time string as described in RFC 3339, section 14.29.
- time
Updated string - When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
- compartment_
id str - The OCID of the compartment that the ODA private endpoint belongs to.
- Mapping[str, Any]
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description str
- Description of the ODA private endpoint.
- display_
name str - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- Mapping[str, Any]
- Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- id str
- The OCID that was assigned when the ODA private endpoint was created.
- nsg_
ids Sequence[str] - List of OCIDs of network security groups
- oda_
private_ strendpoint_ id - state str
- The current state of the ODA private endpoint.
- subnet_
id str - The OCID of the subnet that the private endpoint belongs to.
- time_
created str - When the resource was created. A date-time string as described in RFC 3339, section 14.29.
- time_
updated str - When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
- compartment
Id String - The OCID of the compartment that the ODA private endpoint belongs to.
- Map<Any>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Description of the ODA private endpoint.
- display
Name String - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- Map<Any>
- Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- id String
- The OCID that was assigned when the ODA private endpoint was created.
- nsg
Ids List<String> - List of OCIDs of network security groups
- oda
Private StringEndpoint Id - state String
- The current state of the ODA private endpoint.
- subnet
Id String - The OCID of the subnet that the private endpoint belongs to.
- time
Created String - When the resource was created. A date-time string as described in RFC 3339, section 14.29.
- time
Updated String - When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi