Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Oda.getOdaPrivateEndpointAttachment
Explore with Pulumi AI
This data source provides details about a specific Oda Private Endpoint Attachment resource in Oracle Cloud Infrastructure Digital Assistant service.
Gets the specified ODA Private Endpoint Attachment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOdaPrivateEndpointAttachment = oci.Oda.getOdaPrivateEndpointAttachment({
odaPrivateEndpointAttachmentId: testOdaPrivateEndpointAttachmentOciOdaOdaPrivateEndpointAttachment.id,
});
import pulumi
import pulumi_oci as oci
test_oda_private_endpoint_attachment = oci.Oda.get_oda_private_endpoint_attachment(oda_private_endpoint_attachment_id=test_oda_private_endpoint_attachment_oci_oda_oda_private_endpoint_attachment["id"])
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.GetOdaPrivateEndpointAttachment(ctx, &oda.GetOdaPrivateEndpointAttachmentArgs{
OdaPrivateEndpointAttachmentId: testOdaPrivateEndpointAttachmentOciOdaOdaPrivateEndpointAttachment.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 testOdaPrivateEndpointAttachment = Oci.Oda.GetOdaPrivateEndpointAttachment.Invoke(new()
{
OdaPrivateEndpointAttachmentId = testOdaPrivateEndpointAttachmentOciOdaOdaPrivateEndpointAttachment.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.GetOdaPrivateEndpointAttachmentArgs;
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 testOdaPrivateEndpointAttachment = OdaFunctions.getOdaPrivateEndpointAttachment(GetOdaPrivateEndpointAttachmentArgs.builder()
.odaPrivateEndpointAttachmentId(testOdaPrivateEndpointAttachmentOciOdaOdaPrivateEndpointAttachment.id())
.build());
}
}
variables:
testOdaPrivateEndpointAttachment:
fn::invoke:
Function: oci:Oda:getOdaPrivateEndpointAttachment
Arguments:
odaPrivateEndpointAttachmentId: ${testOdaPrivateEndpointAttachmentOciOdaOdaPrivateEndpointAttachment.id}
Using getOdaPrivateEndpointAttachment
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 getOdaPrivateEndpointAttachment(args: GetOdaPrivateEndpointAttachmentArgs, opts?: InvokeOptions): Promise<GetOdaPrivateEndpointAttachmentResult>
function getOdaPrivateEndpointAttachmentOutput(args: GetOdaPrivateEndpointAttachmentOutputArgs, opts?: InvokeOptions): Output<GetOdaPrivateEndpointAttachmentResult>
def get_oda_private_endpoint_attachment(oda_private_endpoint_attachment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOdaPrivateEndpointAttachmentResult
def get_oda_private_endpoint_attachment_output(oda_private_endpoint_attachment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOdaPrivateEndpointAttachmentResult]
func GetOdaPrivateEndpointAttachment(ctx *Context, args *GetOdaPrivateEndpointAttachmentArgs, opts ...InvokeOption) (*GetOdaPrivateEndpointAttachmentResult, error)
func GetOdaPrivateEndpointAttachmentOutput(ctx *Context, args *GetOdaPrivateEndpointAttachmentOutputArgs, opts ...InvokeOption) GetOdaPrivateEndpointAttachmentResultOutput
> Note: This function is named GetOdaPrivateEndpointAttachment
in the Go SDK.
public static class GetOdaPrivateEndpointAttachment
{
public static Task<GetOdaPrivateEndpointAttachmentResult> InvokeAsync(GetOdaPrivateEndpointAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetOdaPrivateEndpointAttachmentResult> Invoke(GetOdaPrivateEndpointAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOdaPrivateEndpointAttachmentResult> getOdaPrivateEndpointAttachment(GetOdaPrivateEndpointAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Oda/getOdaPrivateEndpointAttachment:getOdaPrivateEndpointAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- Oda
Private stringEndpoint Attachment Id - The OCID of ODA Private Endpoint Attachment.
- Oda
Private stringEndpoint Attachment Id - The OCID of ODA Private Endpoint Attachment.
- oda
Private StringEndpoint Attachment Id - The OCID of ODA Private Endpoint Attachment.
- oda
Private stringEndpoint Attachment Id - The OCID of ODA Private Endpoint Attachment.
- oda_
private_ strendpoint_ attachment_ id - The OCID of ODA Private Endpoint Attachment.
- oda
Private StringEndpoint Attachment Id - The OCID of ODA Private Endpoint Attachment.
getOdaPrivateEndpointAttachment Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that the ODA private endpoint attachment belongs to.
- Id string
- The OCID of the ODA Private Endpoint Attachment.
- Oda
Instance stringId - The OCID of the attached ODA Instance.
- Oda
Private stringEndpoint Attachment Id - Oda
Private stringEndpoint Id - The OCID of the ODA Private Endpoint.
- State string
- The current state of the ODA Private Endpoint attachment.
- 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 attachment belongs to.
- Id string
- The OCID of the ODA Private Endpoint Attachment.
- Oda
Instance stringId - The OCID of the attached ODA Instance.
- Oda
Private stringEndpoint Attachment Id - Oda
Private stringEndpoint Id - The OCID of the ODA Private Endpoint.
- State string
- The current state of the ODA Private Endpoint attachment.
- 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 attachment belongs to.
- id String
- The OCID of the ODA Private Endpoint Attachment.
- oda
Instance StringId - The OCID of the attached ODA Instance.
- oda
Private StringEndpoint Attachment Id - oda
Private StringEndpoint Id - The OCID of the ODA Private Endpoint.
- state String
- The current state of the ODA Private Endpoint attachment.
- 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 attachment belongs to.
- id string
- The OCID of the ODA Private Endpoint Attachment.
- oda
Instance stringId - The OCID of the attached ODA Instance.
- oda
Private stringEndpoint Attachment Id - oda
Private stringEndpoint Id - The OCID of the ODA Private Endpoint.
- state string
- The current state of the ODA Private Endpoint attachment.
- 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 attachment belongs to.
- id str
- The OCID of the ODA Private Endpoint Attachment.
- oda_
instance_ strid - The OCID of the attached ODA Instance.
- oda_
private_ strendpoint_ attachment_ id - oda_
private_ strendpoint_ id - The OCID of the ODA Private Endpoint.
- state str
- The current state of the ODA Private Endpoint attachment.
- 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 attachment belongs to.
- id String
- The OCID of the ODA Private Endpoint Attachment.
- oda
Instance StringId - The OCID of the attached ODA Instance.
- oda
Private StringEndpoint Attachment Id - oda
Private StringEndpoint Id - The OCID of the ODA Private Endpoint.
- state String
- The current state of the ODA Private Endpoint attachment.
- 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.