1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FileStorage
  5. OutboundConnector
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.FileStorage.OutboundConnector

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Outbound Connector resource in Oracle Cloud Infrastructure File Storage service.

    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.

    For information about availability domains, see Regions and Availability Domains. 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). 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

    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",
        },
        passwordSecretId: testSecret.id,
        passwordSecretVersion: outboundConnectorPasswordSecretVersion,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_outbound_connector = oci.file_storage.OutboundConnector("test_outbound_connector",
        availability_domain=outbound_connector_availability_domain,
        bind_distinguished_name=outbound_connector_bind_distinguished_name,
        compartment_id=compartment_id,
        connector_type=outbound_connector_connector_type,
        endpoints=[oci.file_storage.OutboundConnectorEndpointArgs(
            hostname=outbound_connector_endpoints_hostname,
            port=outbound_connector_endpoints_port,
        )],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=outbound_connector_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        password_secret_id=test_secret["id"],
        password_secret_version=outbound_connector_password_secret_version)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/FileStorage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := FileStorage.NewOutboundConnector(ctx, "test_outbound_connector", &FileStorage.OutboundConnectorArgs{
    			AvailabilityDomain:    pulumi.Any(outboundConnectorAvailabilityDomain),
    			BindDistinguishedName: pulumi.Any(outboundConnectorBindDistinguishedName),
    			CompartmentId:         pulumi.Any(compartmentId),
    			ConnectorType:         pulumi.Any(outboundConnectorConnectorType),
    			Endpoints: filestorage.OutboundConnectorEndpointArray{
    				&filestorage.OutboundConnectorEndpointArgs{
    					Hostname: pulumi.Any(outboundConnectorEndpointsHostname),
    					Port:     pulumi.Any(outboundConnectorEndpointsPort),
    				},
    			},
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(outboundConnectorDisplayName),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			PasswordSecretId:      pulumi.Any(testSecret.Id),
    			PasswordSecretVersion: pulumi.Any(outboundConnectorPasswordSecretVersion),
    		})
    		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 testOutboundConnector = new Oci.FileStorage.OutboundConnector("test_outbound_connector", new()
        {
            AvailabilityDomain = outboundConnectorAvailabilityDomain,
            BindDistinguishedName = outboundConnectorBindDistinguishedName,
            CompartmentId = compartmentId,
            ConnectorType = outboundConnectorConnectorType,
            Endpoints = new[]
            {
                new Oci.FileStorage.Inputs.OutboundConnectorEndpointArgs
                {
                    Hostname = outboundConnectorEndpointsHostname,
                    Port = outboundConnectorEndpointsPort,
                },
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = outboundConnectorDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            PasswordSecretId = testSecret.Id,
            PasswordSecretVersion = outboundConnectorPasswordSecretVersion,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FileStorage.OutboundConnector;
    import com.pulumi.oci.FileStorage.OutboundConnectorArgs;
    import com.pulumi.oci.FileStorage.inputs.OutboundConnectorEndpointArgs;
    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) {
            var testOutboundConnector = new OutboundConnector("testOutboundConnector", OutboundConnectorArgs.builder()
                .availabilityDomain(outboundConnectorAvailabilityDomain)
                .bindDistinguishedName(outboundConnectorBindDistinguishedName)
                .compartmentId(compartmentId)
                .connectorType(outboundConnectorConnectorType)
                .endpoints(OutboundConnectorEndpointArgs.builder()
                    .hostname(outboundConnectorEndpointsHostname)
                    .port(outboundConnectorEndpointsPort)
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(outboundConnectorDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .passwordSecretId(testSecret.id())
                .passwordSecretVersion(outboundConnectorPasswordSecretVersion)
                .build());
    
        }
    }
    
    resources:
      testOutboundConnector:
        type: oci:FileStorage:OutboundConnector
        name: test_outbound_connector
        properties:
          availabilityDomain: ${outboundConnectorAvailabilityDomain}
          bindDistinguishedName: ${outboundConnectorBindDistinguishedName}
          compartmentId: ${compartmentId}
          connectorType: ${outboundConnectorConnectorType}
          endpoints:
            - hostname: ${outboundConnectorEndpointsHostname}
              port: ${outboundConnectorEndpointsPort}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${outboundConnectorDisplayName}
          freeformTags:
            Department: Finance
          passwordSecretId: ${testSecret.id}
          passwordSecretVersion: ${outboundConnectorPasswordSecretVersion}
    

    Create OutboundConnector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OutboundConnector(name: string, args: OutboundConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def OutboundConnector(resource_name: str,
                          args: OutboundConnectorArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def OutboundConnector(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          availability_domain: Optional[str] = None,
                          bind_distinguished_name: Optional[str] = None,
                          compartment_id: Optional[str] = None,
                          connector_type: Optional[str] = None,
                          endpoints: Optional[Sequence[_filestorage.OutboundConnectorEndpointArgs]] = None,
                          defined_tags: Optional[Mapping[str, Any]] = None,
                          display_name: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, Any]] = None,
                          password_secret_id: Optional[str] = None,
                          password_secret_version: Optional[int] = None)
    func NewOutboundConnector(ctx *Context, name string, args OutboundConnectorArgs, opts ...ResourceOption) (*OutboundConnector, error)
    public OutboundConnector(string name, OutboundConnectorArgs args, CustomResourceOptions? opts = null)
    public OutboundConnector(String name, OutboundConnectorArgs args)
    public OutboundConnector(String name, OutboundConnectorArgs args, CustomResourceOptions options)
    
    type: oci:FileStorage:OutboundConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OutboundConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OutboundConnectorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OutboundConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OutboundConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OutboundConnectorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var outboundConnectorResource = new Oci.FileStorage.OutboundConnector("outboundConnectorResource", new()
    {
        AvailabilityDomain = "string",
        BindDistinguishedName = "string",
        CompartmentId = "string",
        ConnectorType = "string",
        Endpoints = new[]
        {
            new Oci.FileStorage.Inputs.OutboundConnectorEndpointArgs
            {
                Hostname = "string",
                Port = "string",
            },
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        PasswordSecretId = "string",
        PasswordSecretVersion = 0,
    });
    
    example, err := FileStorage.NewOutboundConnector(ctx, "outboundConnectorResource", &FileStorage.OutboundConnectorArgs{
    	AvailabilityDomain:    pulumi.String("string"),
    	BindDistinguishedName: pulumi.String("string"),
    	CompartmentId:         pulumi.String("string"),
    	ConnectorType:         pulumi.String("string"),
    	Endpoints: filestorage.OutboundConnectorEndpointArray{
    		&filestorage.OutboundConnectorEndpointArgs{
    			Hostname: pulumi.String("string"),
    			Port:     pulumi.String("string"),
    		},
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	PasswordSecretId:      pulumi.String("string"),
    	PasswordSecretVersion: pulumi.Int(0),
    })
    
    var outboundConnectorResource = new OutboundConnector("outboundConnectorResource", OutboundConnectorArgs.builder()
        .availabilityDomain("string")
        .bindDistinguishedName("string")
        .compartmentId("string")
        .connectorType("string")
        .endpoints(OutboundConnectorEndpointArgs.builder()
            .hostname("string")
            .port("string")
            .build())
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .passwordSecretId("string")
        .passwordSecretVersion(0)
        .build());
    
    outbound_connector_resource = oci.file_storage.OutboundConnector("outboundConnectorResource",
        availability_domain="string",
        bind_distinguished_name="string",
        compartment_id="string",
        connector_type="string",
        endpoints=[oci.file_storage.OutboundConnectorEndpointArgs(
            hostname="string",
            port="string",
        )],
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        password_secret_id="string",
        password_secret_version=0)
    
    const outboundConnectorResource = new oci.filestorage.OutboundConnector("outboundConnectorResource", {
        availabilityDomain: "string",
        bindDistinguishedName: "string",
        compartmentId: "string",
        connectorType: "string",
        endpoints: [{
            hostname: "string",
            port: "string",
        }],
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        passwordSecretId: "string",
        passwordSecretVersion: 0,
    });
    
    type: oci:FileStorage:OutboundConnector
    properties:
        availabilityDomain: string
        bindDistinguishedName: string
        compartmentId: string
        connectorType: string
        definedTags:
            string: any
        displayName: string
        endpoints:
            - hostname: string
              port: string
        freeformTags:
            string: any
        passwordSecretId: string
        passwordSecretVersion: 0
    

    OutboundConnector Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OutboundConnector resource accepts the following input properties:

    AvailabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    Endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName 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
    FreeformTags Dictionary<string, object>
    (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. Example: {"Department": "Finance"}
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password 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

    AvailabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    Endpoints []OutboundConnectorEndpointArgs
    Array of server endpoints to use when connecting with the LDAP bind account.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName 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
    FreeformTags map[string]interface{}
    (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. Example: {"Department": "Finance"}
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password 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

    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    freeformTags Map<String,Object>
    (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. Example: {"Department": "Finance"}
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Integer

    Version of the password 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

    availabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType string
    The account type of this outbound connector.
    endpoints OutboundConnectorEndpoint[]
    Array of server endpoints to use when connecting with the LDAP bind account.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    freeformTags {[key: string]: any}
    (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. Example: {"Department": "Finance"}
    passwordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion number

    Version of the password 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

    availability_domain str
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bind_distinguished_name str
    The LDAP Distinguished Name of the bind account.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connector_type str
    The account type of this outbound connector.
    endpoints Sequence[filestorage.OutboundConnectorEndpointArgs]
    Array of server endpoints to use when connecting with the LDAP bind account.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    freeform_tags Mapping[str, Any]
    (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. Example: {"Department": "Finance"}
    password_secret_id str
    The OCID of the password for the LDAP bind account in the Vault.
    password_secret_version int

    Version of the password 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

    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    endpoints List<Property Map>
    Array of server endpoints to use when connecting with the LDAP bind account.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    freeformTags Map<Any>
    (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. Example: {"Department": "Finance"}
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Number

    Version of the password 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OutboundConnector resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of this outbound connector.
    timeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of this outbound connector.
    time_created str
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

    Look up Existing OutboundConnector Resource

    Get an existing OutboundConnector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OutboundConnectorState, opts?: CustomResourceOptions): OutboundConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            bind_distinguished_name: Optional[str] = None,
            compartment_id: Optional[str] = None,
            connector_type: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            endpoints: Optional[Sequence[_filestorage.OutboundConnectorEndpointArgs]] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            password_secret_id: Optional[str] = None,
            password_secret_version: Optional[int] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> OutboundConnector
    func GetOutboundConnector(ctx *Context, name string, id IDInput, state *OutboundConnectorState, opts ...ResourceOption) (*OutboundConnector, error)
    public static OutboundConnector Get(string name, Input<string> id, OutboundConnectorState? state, CustomResourceOptions? opts = null)
    public static OutboundConnector get(String name, Output<String> id, OutboundConnectorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName 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
    Endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    FreeformTags Dictionary<string, object>
    (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. Example: {"Department": "Finance"}
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password 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

    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    AvailabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName 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
    Endpoints []OutboundConnectorEndpointArgs
    Array of server endpoints to use when connecting with the LDAP bind account.
    FreeformTags map[string]interface{}
    (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. Example: {"Department": "Finance"}
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password 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

    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags Map<String,Object>
    (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. Example: {"Department": "Finance"}
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Integer

    Version of the password 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

    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType string
    The account type of this outbound connector.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    endpoints OutboundConnectorEndpoint[]
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags {[key: string]: any}
    (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. Example: {"Department": "Finance"}
    passwordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion number

    Version of the password 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

    state string
    The current state of this outbound connector.
    timeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availability_domain str
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bind_distinguished_name str
    The LDAP Distinguished Name of the bind account.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connector_type str
    The account type of this outbound connector.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    endpoints Sequence[filestorage.OutboundConnectorEndpointArgs]
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeform_tags Mapping[str, Any]
    (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. Example: {"Department": "Finance"}
    password_secret_id str
    The OCID of the password for the LDAP bind account in the Vault.
    password_secret_version int

    Version of the password 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

    state str
    The current state of this outbound connector.
    time_created str
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    endpoints List<Property Map>
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags Map<Any>
    (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. Example: {"Department": "Finance"}
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Number

    Version of the password 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

    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    OutboundConnectorEndpoint, OutboundConnectorEndpointArgs

    Hostname string
    Name of the DNS server.
    Port string
    Port of the DNS server.
    Hostname string
    Name of the DNS server.
    Port string
    Port of the DNS server.
    hostname String
    Name of the DNS server.
    port String
    Port of the DNS server.
    hostname string
    Name of the DNS server.
    port string
    Port of the DNS server.
    hostname str
    Name of the DNS server.
    port str
    Port of the DNS server.
    hostname String
    Name of the DNS server.
    port String
    Port of the DNS server.

    Import

    OutboundConnectors can be imported using the id, e.g.

    $ pulumi import oci:FileStorage/outboundConnector:OutboundConnector test_outbound_connector "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi