oci.Oda.getOdaPrivateEndpoints
Explore with Pulumi AI
This data source provides the list of Oda Private Endpoints in Oracle Cloud Infrastructure Digital Assistant service.
Returns a page of ODA Private Endpoints that belong to the specified compartment.
If the opc-next-page
header appears in the response, then
there are more items to retrieve. To get the next page in the subsequent
GET request, include the header’s value as the page
query parameter.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOdaPrivateEndpoints = oci.Oda.getOdaPrivateEndpoints({
compartmentId: compartmentId,
displayName: odaPrivateEndpointDisplayName,
state: odaPrivateEndpointState,
});
import pulumi
import pulumi_oci as oci
test_oda_private_endpoints = oci.Oda.get_oda_private_endpoints(compartment_id=compartment_id,
display_name=oda_private_endpoint_display_name,
state=oda_private_endpoint_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Oda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Oda.GetOdaPrivateEndpoints(ctx, &oda.GetOdaPrivateEndpointsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(odaPrivateEndpointDisplayName),
State: pulumi.StringRef(odaPrivateEndpointState),
}, 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 testOdaPrivateEndpoints = Oci.Oda.GetOdaPrivateEndpoints.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = odaPrivateEndpointDisplayName,
State = odaPrivateEndpointState,
});
});
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.GetOdaPrivateEndpointsArgs;
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 testOdaPrivateEndpoints = OdaFunctions.getOdaPrivateEndpoints(GetOdaPrivateEndpointsArgs.builder()
.compartmentId(compartmentId)
.displayName(odaPrivateEndpointDisplayName)
.state(odaPrivateEndpointState)
.build());
}
}
variables:
testOdaPrivateEndpoints:
fn::invoke:
Function: oci:Oda:getOdaPrivateEndpoints
Arguments:
compartmentId: ${compartmentId}
displayName: ${odaPrivateEndpointDisplayName}
state: ${odaPrivateEndpointState}
Using getOdaPrivateEndpoints
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 getOdaPrivateEndpoints(args: GetOdaPrivateEndpointsArgs, opts?: InvokeOptions): Promise<GetOdaPrivateEndpointsResult>
function getOdaPrivateEndpointsOutput(args: GetOdaPrivateEndpointsOutputArgs, opts?: InvokeOptions): Output<GetOdaPrivateEndpointsResult>
def get_oda_private_endpoints(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_oda.GetOdaPrivateEndpointsFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOdaPrivateEndpointsResult
def get_oda_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_oda.GetOdaPrivateEndpointsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOdaPrivateEndpointsResult]
func GetOdaPrivateEndpoints(ctx *Context, args *GetOdaPrivateEndpointsArgs, opts ...InvokeOption) (*GetOdaPrivateEndpointsResult, error)
func GetOdaPrivateEndpointsOutput(ctx *Context, args *GetOdaPrivateEndpointsOutputArgs, opts ...InvokeOption) GetOdaPrivateEndpointsResultOutput
> Note: This function is named GetOdaPrivateEndpoints
in the Go SDK.
public static class GetOdaPrivateEndpoints
{
public static Task<GetOdaPrivateEndpointsResult> InvokeAsync(GetOdaPrivateEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetOdaPrivateEndpointsResult> Invoke(GetOdaPrivateEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOdaPrivateEndpointsResult> getOdaPrivateEndpoints(GetOdaPrivateEndpointsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Oda/getOdaPrivateEndpoints:getOdaPrivateEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - List the ODA Private Endpoints that belong to this compartment.
- Display
Name string - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- Filters
List<Get
Oda Private Endpoints Filter> - State string
- List only the ODA Private Endpoints that are in this lifecycle state.
- Compartment
Id string - List the ODA Private Endpoints that belong to this compartment.
- Display
Name string - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- Filters
[]Get
Oda Private Endpoints Filter - State string
- List only the ODA Private Endpoints that are in this lifecycle state.
- compartment
Id String - List the ODA Private Endpoints that belong to this compartment.
- display
Name String - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- filters
List<Get
Private Endpoints Filter> - state String
- List only the ODA Private Endpoints that are in this lifecycle state.
- compartment
Id string - List the ODA Private Endpoints that belong to this compartment.
- display
Name string - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- filters
Get
Oda Private Endpoints Filter[] - state string
- List only the ODA Private Endpoints that are in this lifecycle state.
- compartment_
id str - List the ODA Private Endpoints that belong to this compartment.
- display_
name str - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- filters
Sequence[oda.
Get Oda Private Endpoints Filter] - state str
- List only the ODA Private Endpoints that are in this lifecycle state.
- compartment
Id String - List the ODA Private Endpoints that belong to this compartment.
- display
Name String - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- filters List<Property Map>
- state String
- List only the ODA Private Endpoints that are in this lifecycle state.
getOdaPrivateEndpoints Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that the ODA private endpoint belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oda
Private List<GetEndpoint Collections Oda Private Endpoints Oda Private Endpoint Collection> - The list of oda_private_endpoint_collection.
- Display
Name string - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- Filters
List<Get
Oda Private Endpoints Filter> - State string
- The current state of the ODA private endpoint.
- Compartment
Id string - The OCID of the compartment that the ODA private endpoint belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oda
Private []GetEndpoint Collections Oda Private Endpoints Oda Private Endpoint Collection - The list of oda_private_endpoint_collection.
- Display
Name string - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- Filters
[]Get
Oda Private Endpoints Filter - State string
- The current state of the ODA private endpoint.
- compartment
Id String - The OCID of the compartment that the ODA private endpoint belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- oda
Private List<GetEndpoint Collections Private Endpoints Private Endpoint Collection> - The list of oda_private_endpoint_collection.
- display
Name String - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- filters
List<Get
Private Endpoints Filter> - state String
- The current state of the ODA private endpoint.
- compartment
Id string - The OCID of the compartment that the ODA private endpoint belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- oda
Private GetEndpoint Collections Oda Private Endpoints Oda Private Endpoint Collection[] - The list of oda_private_endpoint_collection.
- display
Name string - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- filters
Get
Oda Private Endpoints Filter[] - state string
- The current state of the ODA private endpoint.
- compartment_
id str - The OCID of the compartment that the ODA private endpoint belongs to.
- id str
- The provider-assigned unique ID for this managed resource.
- oda_
private_ Sequence[oda.endpoint_ collections Get Oda Private Endpoints Oda Private Endpoint Collection] - The list of oda_private_endpoint_collection.
- display_
name str - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- filters
Sequence[oda.
Get Oda Private Endpoints Filter] - state str
- The current state of the ODA private endpoint.
- compartment
Id String - The OCID of the compartment that the ODA private endpoint belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- oda
Private List<Property Map>Endpoint Collections - The list of oda_private_endpoint_collection.
- display
Name String - User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value.
- filters List<Property Map>
- state String
- The current state of the ODA private endpoint.
Supporting Types
GetOdaPrivateEndpointsFilter
GetOdaPrivateEndpointsOdaPrivateEndpointCollection
GetOdaPrivateEndpointsOdaPrivateEndpointCollectionItem
- Compartment
Id string - List the ODA Private Endpoints that belong to this compartment.
- Dictionary<string, string>
- 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 - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- Dictionary<string, string>
- 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
- State string
- List only the ODA Private Endpoints that are in this lifecycle state.
- 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 - List the ODA Private Endpoints that belong to this compartment.
- map[string]string
- 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 - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- map[string]string
- 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
- State string
- List only the ODA Private Endpoints that are in this lifecycle state.
- 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 - List the ODA Private Endpoints that belong to this compartment.
- Map<String,String>
- 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 - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- Map<String,String>
- 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
- state String
- List only the ODA Private Endpoints that are in this lifecycle state.
- 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 - List the ODA Private Endpoints that belong to this compartment.
- {[key: string]: string}
- 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 - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- {[key: string]: string}
- 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
- state string
- List only the ODA Private Endpoints that are in this lifecycle state.
- 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 - List the ODA Private Endpoints that belong to this compartment.
- Mapping[str, str]
- 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 - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- Mapping[str, str]
- 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
- state str
- List only the ODA Private Endpoints that are in this lifecycle state.
- 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 - List the ODA Private Endpoints that belong to this compartment.
- Map<String>
- 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 - List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example:
My new resource
- Map<String>
- 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
- state String
- List only the ODA Private Endpoints that are in this lifecycle state.
- 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.