import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Oda Private Endpoint resource in Oracle Cloud Infrastructure Digital Assistant service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/digital-assistant/latest/OdaPrivateEndpoint * * 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. * * 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 testOdaPrivateEndpoint = new oci.oda.OdaPrivateEndpoint("test_oda_private_endpoint", { * compartmentId: compartmentId, * subnetId: testSubnet.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: odaPrivateEndpointDescription, * displayName: odaPrivateEndpointDisplayName, * freeformTags: { * "bar-key": "value", * }, * nsgIds: odaPrivateEndpointNsgIds, * securityAttributes: odaPrivateEndpointSecurityAttributes, * }); * ``` * * ## Import * * OdaPrivateEndpoints can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Oda/odaPrivateEndpoint:OdaPrivateEndpoint test_oda_private_endpoint "id" * ``` */ export declare class OdaPrivateEndpoint extends pulumi.CustomResource { /** * Get an existing OdaPrivateEndpoint 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?: OdaPrivateEndpointState, opts?: pulumi.CustomResourceOptions): OdaPrivateEndpoint; /** * Returns true if the given object is an instance of OdaPrivateEndpoint. 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 OdaPrivateEndpoint; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that the ODA private endpoint belongs to. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Description of the ODA private endpoint. */ readonly description: pulumi.Output; /** * (Updatable) User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) List of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of [network security groups](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm) */ readonly nsgIds: pulumi.Output; /** * (Updatable) Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` */ readonly securityAttributes: pulumi.Output<{ [key: string]: string; }>; /** * The current state of the ODA private endpoint. */ readonly state: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private endpoint belongs to. * * ** 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 subnetId: 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 OdaPrivateEndpoint 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: OdaPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OdaPrivateEndpoint resources. */ export interface OdaPrivateEndpointState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that the ODA private endpoint belongs to. */ compartmentId?: pulumi.Input; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Description of the ODA private endpoint. */ description?: pulumi.Input; /** * (Updatable) User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) List of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of [network security groups](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm) */ nsgIds?: pulumi.Input[] | undefined>; /** * (Updatable) Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` */ securityAttributes?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The current state of the ODA private endpoint. */ state?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private endpoint belongs to. * * ** 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 */ subnetId?: 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 OdaPrivateEndpoint resource. */ export interface OdaPrivateEndpointArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that the ODA private endpoint belongs to. */ compartmentId: pulumi.Input; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Description of the ODA private endpoint. */ description?: pulumi.Input; /** * (Updatable) User-defined name for the ODA private endpoint. Avoid entering confidential information. You can change this value. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) List of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of [network security groups](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm) */ nsgIds?: pulumi.Input[] | undefined>; /** * (Updatable) Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` */ securityAttributes?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private endpoint belongs to. * * ** 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 */ subnetId: pulumi.Input; } //# sourceMappingURL=odaPrivateEndpoint.d.ts.map