import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Outbound Connector resource in Oracle Cloud Infrastructure File Storage service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/filestorage/latest/OutboundConnector * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * * Creates a new outbound connector in the specified compartment. * You can associate an outbound connector with a mount target only when * they exist in the same availability domain. * * For information about access control and compartments, see * [Overview of the IAM * Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). * * For information about availability domains, see [Regions and * Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). * To get a list of availability domains, use the * `ListAvailabilityDomains` operation in the Identity and Access * Management Service API. * * All Oracle Cloud Infrastructure Services resources, including * outbound connectors, get an Oracle-assigned, unique ID called an * Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). * When you create a resource, you can find its OCID in the response. * You can also retrieve a resource's OCID by using a List API operation on that resource * type, or by viewing the resource in the Console. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOutboundConnector = new oci.filestorage.OutboundConnector("test_outbound_connector", { * availabilityDomain: outboundConnectorAvailabilityDomain, * bindDistinguishedName: outboundConnectorBindDistinguishedName, * compartmentId: compartmentId, * connectorType: outboundConnectorConnectorType, * endpoints: [{ * hostname: outboundConnectorEndpointsHostname, * port: outboundConnectorEndpointsPort, * }], * definedTags: { * "Operations.CostCenter": "42", * }, * displayName: outboundConnectorDisplayName, * freeformTags: { * Department: "Finance", * }, * locks: [{ * type: outboundConnectorLocksType, * message: outboundConnectorLocksMessage, * relatedResourceId: testResource.id, * timeCreated: outboundConnectorLocksTimeCreated, * }], * passwordSecretId: testSecret.id, * passwordSecretVersion: Number(outboundConnectorPasswordSecretVersion), * trustedCertificateSecretId: testSecret.id, * trustedCertificateSecretVersion: Number(outboundConnectorTrustedCertificateSecretVersion), * }); * ``` * * ## Import * * OutboundConnectors can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:FileStorage/outboundConnector:OutboundConnector test_outbound_connector "id" * ``` */ export declare class OutboundConnector extends pulumi.CustomResource { /** * Get an existing OutboundConnector 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?: OutboundConnectorState, opts?: pulumi.CustomResourceOptions): OutboundConnector; /** * Returns true if the given object is an instance of OutboundConnector. 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 OutboundConnector; /** * The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: pulumi.Output; /** * The LDAP Distinguished Name of the bind account. */ readonly bindDistinguishedName: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. */ readonly compartmentId: pulumi.Output; /** * The account type of this outbound connector. */ readonly connectorType: pulumi.Output; /** * (Updatable) Defined tags 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: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My outbound connector` */ readonly displayName: pulumi.Output; /** * Array of server endpoints to use when connecting with the LDAP bind account. */ readonly endpoints: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; readonly isLockOverride: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. */ readonly passwordSecretId: pulumi.Output; /** * Version of the password secret in the Vault to use. */ readonly passwordSecretVersion: pulumi.Output; /** * The current state of this outbound connector. */ readonly state: pulumi.Output; /** * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the trusted certificate for the LDAP server in the Vault. */ readonly trustedCertificateSecretId: pulumi.Output; /** * Version of the trusted certificate secret in the Vault to use. * * ** 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 trustedCertificateSecretVersion: pulumi.Output; /** * Create a OutboundConnector 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: OutboundConnectorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OutboundConnector resources. */ export interface OutboundConnectorState { /** * The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * The LDAP Distinguished Name of the bind account. */ bindDistinguishedName?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. */ compartmentId?: pulumi.Input; /** * The account type of this outbound connector. */ connectorType?: pulumi.Input; /** * (Updatable) Defined tags 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: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My outbound connector` */ displayName?: pulumi.Input; /** * Array of server endpoints to use when connecting with the LDAP bind account. */ endpoints?: pulumi.Input[] | undefined>; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. */ passwordSecretId?: pulumi.Input; /** * Version of the password secret in the Vault to use. */ passwordSecretVersion?: pulumi.Input; /** * The current state of this outbound connector. */ state?: pulumi.Input; /** * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the trusted certificate for the LDAP server in the Vault. */ trustedCertificateSecretId?: pulumi.Input; /** * Version of the trusted certificate secret in the Vault to use. * * ** 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 */ trustedCertificateSecretVersion?: pulumi.Input; } /** * The set of arguments for constructing a OutboundConnector resource. */ export interface OutboundConnectorArgs { /** * The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ availabilityDomain: pulumi.Input; /** * The LDAP Distinguished Name of the bind account. */ bindDistinguishedName: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. */ compartmentId: pulumi.Input; /** * The account type of this outbound connector. */ connectorType: pulumi.Input; /** * (Updatable) Defined tags 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: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My outbound connector` */ displayName?: pulumi.Input; /** * Array of server endpoints to use when connecting with the LDAP bind account. */ endpoints: pulumi.Input[]>; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. */ passwordSecretId?: pulumi.Input; /** * Version of the password secret in the Vault to use. */ passwordSecretVersion?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the trusted certificate for the LDAP server in the Vault. */ trustedCertificateSecretId?: pulumi.Input; /** * Version of the trusted certificate secret in the Vault to use. * * ** 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 */ trustedCertificateSecretVersion?: pulumi.Input; } //# sourceMappingURL=outboundConnector.d.ts.map