import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Oda Private Endpoint Attachment resource in Oracle Cloud Infrastructure Digital Assistant service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/digital-assistant/latest/OdaPrivateEndpointAttachment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/oracle_digital_assistant * * Starts an asynchronous job to create an ODA Private Endpoint Attachment. * * To monitor the status of the job, take the `opc-work-request-id` response * header value and use it to call `GET /workRequests/{workRequestID}`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOdaPrivateEndpointAttachment = new oci.oda.OdaPrivateEndpointAttachment("test_oda_private_endpoint_attachment", { * odaInstanceId: testOdaInstance.id, * odaPrivateEndpointId: testOdaPrivateEndpoint.id, * }); * ``` * * ## Import * * OdaPrivateEndpointAttachments can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Oda/odaPrivateEndpointAttachment:OdaPrivateEndpointAttachment test_oda_private_endpoint_attachment "id" * ``` */ export declare class OdaPrivateEndpointAttachment extends pulumi.CustomResource { /** * Get an existing OdaPrivateEndpointAttachment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OdaPrivateEndpointAttachmentState, opts?: pulumi.CustomResourceOptions): OdaPrivateEndpointAttachment; /** * Returns true if the given object is an instance of OdaPrivateEndpointAttachment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OdaPrivateEndpointAttachment; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that the ODA private endpoint attachment belongs to. */ readonly compartmentId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached ODA Instance. */ readonly odaInstanceId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ODA Private Endpoint. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly odaPrivateEndpointId: pulumi.Output; /** * The current state of the ODA Private Endpoint attachment. */ readonly state: pulumi.Output; /** * When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ readonly timeCreated: pulumi.Output; /** * When the resource was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ readonly timeUpdated: pulumi.Output; /** * Create a OdaPrivateEndpointAttachment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OdaPrivateEndpointAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OdaPrivateEndpointAttachment resources. */ export interface OdaPrivateEndpointAttachmentState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that the ODA private endpoint attachment belongs to. */ compartmentId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached ODA Instance. */ odaInstanceId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ODA Private Endpoint. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ odaPrivateEndpointId?: pulumi.Input; /** * The current state of the ODA Private Endpoint attachment. */ state?: pulumi.Input; /** * When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ timeCreated?: pulumi.Input; /** * When the resource was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a OdaPrivateEndpointAttachment resource. */ export interface OdaPrivateEndpointAttachmentArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached ODA Instance. */ odaInstanceId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ODA Private Endpoint. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ odaPrivateEndpointId: pulumi.Input; } //# sourceMappingURL=odaPrivateEndpointAttachment.d.ts.map