Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.FileStorage.getOutboundConnectors
Explore with Pulumi AI
This data source provides the list of Outbound Connectors in Oracle Cloud Infrastructure File Storage service.
Lists the outbound connector resources in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOutboundConnectors = oci.FileStorage.getOutboundConnectors({
    availabilityDomain: outboundConnectorAvailabilityDomain,
    compartmentId: compartmentId,
    displayName: outboundConnectorDisplayName,
    id: outboundConnectorId,
    state: outboundConnectorState,
});
import pulumi
import pulumi_oci as oci
test_outbound_connectors = oci.FileStorage.get_outbound_connectors(availability_domain=outbound_connector_availability_domain,
    compartment_id=compartment_id,
    display_name=outbound_connector_display_name,
    id=outbound_connector_id,
    state=outbound_connector_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/filestorage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filestorage.GetOutboundConnectors(ctx, &filestorage.GetOutboundConnectorsArgs{
			AvailabilityDomain: outboundConnectorAvailabilityDomain,
			CompartmentId:      compartmentId,
			DisplayName:        pulumi.StringRef(outboundConnectorDisplayName),
			Id:                 pulumi.StringRef(outboundConnectorId),
			State:              pulumi.StringRef(outboundConnectorState),
		}, 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 testOutboundConnectors = Oci.FileStorage.GetOutboundConnectors.Invoke(new()
    {
        AvailabilityDomain = outboundConnectorAvailabilityDomain,
        CompartmentId = compartmentId,
        DisplayName = outboundConnectorDisplayName,
        Id = outboundConnectorId,
        State = outboundConnectorState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileStorageFunctions;
import com.pulumi.oci.FileStorage.inputs.GetOutboundConnectorsArgs;
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 testOutboundConnectors = FileStorageFunctions.getOutboundConnectors(GetOutboundConnectorsArgs.builder()
            .availabilityDomain(outboundConnectorAvailabilityDomain)
            .compartmentId(compartmentId)
            .displayName(outboundConnectorDisplayName)
            .id(outboundConnectorId)
            .state(outboundConnectorState)
            .build());
    }
}
variables:
  testOutboundConnectors:
    fn::invoke:
      function: oci:FileStorage:getOutboundConnectors
      arguments:
        availabilityDomain: ${outboundConnectorAvailabilityDomain}
        compartmentId: ${compartmentId}
        displayName: ${outboundConnectorDisplayName}
        id: ${outboundConnectorId}
        state: ${outboundConnectorState}
Using getOutboundConnectors
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 getOutboundConnectors(args: GetOutboundConnectorsArgs, opts?: InvokeOptions): Promise<GetOutboundConnectorsResult>
function getOutboundConnectorsOutput(args: GetOutboundConnectorsOutputArgs, opts?: InvokeOptions): Output<GetOutboundConnectorsResult>def get_outbound_connectors(availability_domain: Optional[str] = None,
                            compartment_id: Optional[str] = None,
                            display_name: Optional[str] = None,
                            filters: Optional[Sequence[GetOutboundConnectorsFilter]] = None,
                            id: Optional[str] = None,
                            state: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetOutboundConnectorsResult
def get_outbound_connectors_output(availability_domain: Optional[pulumi.Input[str]] = None,
                            compartment_id: Optional[pulumi.Input[str]] = None,
                            display_name: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetOutboundConnectorsFilterArgs]]]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            state: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetOutboundConnectorsResult]func GetOutboundConnectors(ctx *Context, args *GetOutboundConnectorsArgs, opts ...InvokeOption) (*GetOutboundConnectorsResult, error)
func GetOutboundConnectorsOutput(ctx *Context, args *GetOutboundConnectorsOutputArgs, opts ...InvokeOption) GetOutboundConnectorsResultOutput> Note: This function is named GetOutboundConnectors in the Go SDK.
public static class GetOutboundConnectors 
{
    public static Task<GetOutboundConnectorsResult> InvokeAsync(GetOutboundConnectorsArgs args, InvokeOptions? opts = null)
    public static Output<GetOutboundConnectorsResult> Invoke(GetOutboundConnectorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOutboundConnectorsResult> getOutboundConnectors(GetOutboundConnectorsArgs args, InvokeOptions options)
public static Output<GetOutboundConnectorsResult> getOutboundConnectors(GetOutboundConnectorsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:FileStorage/getOutboundConnectors:getOutboundConnectors
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AvailabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- CompartmentId string
- The OCID of the compartment.
- DisplayName string
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- Filters
List<GetOutbound Connectors Filter> 
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- AvailabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- CompartmentId string
- The OCID of the compartment.
- DisplayName string
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- Filters
[]GetOutbound Connectors Filter 
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availabilityDomain String
- The name of the availability domain. Example: Uocm:PHX-AD-1
- compartmentId String
- The OCID of the compartment.
- displayName String
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- filters
List<GetOutbound Connectors Filter> 
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- compartmentId string
- The OCID of the compartment.
- displayName string
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- filters
GetOutbound Connectors Filter[] 
- id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability_domain str
- The name of the availability domain. Example: Uocm:PHX-AD-1
- compartment_id str
- The OCID of the compartment.
- display_name str
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- filters
Sequence[GetOutbound Connectors Filter] 
- id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availabilityDomain String
- The name of the availability domain. Example: Uocm:PHX-AD-1
- compartmentId String
- The OCID of the compartment.
- displayName String
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- filters List<Property Map>
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getOutboundConnectors Result
The following output properties are available:
- AvailabilityDomain string
- The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
- CompartmentId string
- The OCID of the compartment that contains the outbound connector.
- OutboundConnectors List<GetOutbound Connectors Outbound Connector> 
- The list of outbound_connectors.
- DisplayName string
- A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
- Filters
List<GetOutbound Connectors Filter> 
- Id string
- The OCID of the outbound connector.
- State string
- The current state of this outbound connector.
- AvailabilityDomain string
- The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
- CompartmentId string
- The OCID of the compartment that contains the outbound connector.
- OutboundConnectors []GetOutbound Connectors Outbound Connector 
- The list of outbound_connectors.
- DisplayName string
- A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
- Filters
[]GetOutbound Connectors Filter 
- Id string
- The OCID of the outbound connector.
- State string
- The current state of this outbound connector.
- availabilityDomain String
- The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
- compartmentId String
- The OCID of the compartment that contains the outbound connector.
- outboundConnectors List<GetOutbound Connectors Outbound Connector> 
- The list of outbound_connectors.
- displayName String
- A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
- filters
List<GetOutbound Connectors Filter> 
- id String
- The OCID of the outbound connector.
- state String
- The current state of this outbound connector.
- availabilityDomain string
- The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
- compartmentId string
- The OCID of the compartment that contains the outbound connector.
- outboundConnectors GetOutbound Connectors Outbound Connector[] 
- The list of outbound_connectors.
- displayName string
- A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
- filters
GetOutbound Connectors Filter[] 
- id string
- The OCID of the outbound connector.
- state string
- The current state of this outbound connector.
- 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
- compartment_id str
- The OCID of the compartment that contains the outbound connector.
- outbound_connectors Sequence[GetOutbound Connectors Outbound Connector] 
- The list of outbound_connectors.
- display_name str
- A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
- filters
Sequence[GetOutbound Connectors Filter] 
- id str
- The OCID of the outbound connector.
- state str
- The current state of this outbound connector.
- availabilityDomain String
- The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
- compartmentId String
- The OCID of the compartment that contains the outbound connector.
- outboundConnectors List<Property Map>
- The list of outbound_connectors.
- displayName String
- A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
- filters List<Property Map>
- id String
- The OCID of the outbound connector.
- state String
- The current state of this outbound connector.
Supporting Types
GetOutboundConnectorsFilter   
GetOutboundConnectorsOutboundConnector    
- AvailabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- BindDistinguished stringName 
- The LDAP Distinguished Name of the account.
- CompartmentId string
- The OCID of the compartment.
- ConnectorType string
- The account type of this outbound connector.
- Dictionary<string, string>
- 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
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- Endpoints
List<GetOutbound Connectors Outbound Connector Endpoint> 
- Array of server endpoints to use when connecting with the LDAP bind account.
- Dictionary<string, string>
- 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"}
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- IsLock boolOverride 
- Locks
List<GetOutbound Connectors Outbound Connector Lock> 
- Locks associated with this resource.
- PasswordSecret stringId 
- The OCID of the password for the LDAP bind account in the Vault.
- PasswordSecret intVersion 
- Version of the password secret in the Vault to use.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Dictionary<string, string>
- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- 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 name of the availability domain. Example: Uocm:PHX-AD-1
- BindDistinguished stringName 
- The LDAP Distinguished Name of the account.
- CompartmentId string
- The OCID of the compartment.
- ConnectorType string
- The account type of this outbound connector.
- map[string]string
- 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
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- Endpoints
[]GetOutbound Connectors Outbound Connector Endpoint 
- Array of server endpoints to use when connecting with the LDAP bind account.
- map[string]string
- 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"}
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- IsLock boolOverride 
- Locks
[]GetOutbound Connectors Outbound Connector Lock 
- Locks associated with this resource.
- PasswordSecret stringId 
- The OCID of the password for the LDAP bind account in the Vault.
- PasswordSecret intVersion 
- Version of the password secret in the Vault to use.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- map[string]string
- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- 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 name of the availability domain. Example: Uocm:PHX-AD-1
- bindDistinguished StringName 
- The LDAP Distinguished Name of the account.
- compartmentId String
- The OCID of the compartment.
- connectorType String
- The account type of this outbound connector.
- Map<String,String>
- 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
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- endpoints
List<GetOutbound Connectors Outbound Connector Endpoint> 
- Array of server endpoints to use when connecting with the LDAP bind account.
- Map<String,String>
- 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"}
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- isLock BooleanOverride 
- locks
List<GetOutbound Connectors Outbound Connector Lock> 
- Locks associated with this resource.
- passwordSecret StringId 
- The OCID of the password for the LDAP bind account in the Vault.
- passwordSecret IntegerVersion 
- Version of the password secret in the Vault to use.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Map<String,String>
- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- 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 name of the availability domain. Example: Uocm:PHX-AD-1
- bindDistinguished stringName 
- The LDAP Distinguished Name of the account.
- compartmentId string
- The OCID of the compartment.
- connectorType string
- The account type of this outbound connector.
- {[key: string]: string}
- 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
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- endpoints
GetOutbound Connectors Outbound Connector Endpoint[] 
- Array of server endpoints to use when connecting with the LDAP bind account.
- {[key: string]: string}
- 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"}
- id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- isLock booleanOverride 
- locks
GetOutbound Connectors Outbound Connector Lock[] 
- Locks associated with this resource.
- passwordSecret stringId 
- The OCID of the password for the LDAP bind account in the Vault.
- passwordSecret numberVersion 
- Version of the password secret in the Vault to use.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- {[key: string]: string}
- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- 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 name of the availability domain. Example: Uocm:PHX-AD-1
- bind_distinguished_ strname 
- The LDAP Distinguished Name of the account.
- compartment_id str
- The OCID of the compartment.
- connector_type str
- The account type of this outbound connector.
- Mapping[str, str]
- 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
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- endpoints
Sequence[GetOutbound Connectors Outbound Connector Endpoint] 
- Array of server endpoints to use when connecting with the LDAP bind account.
- Mapping[str, str]
- 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"}
- id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is_lock_ booloverride 
- locks
Sequence[GetOutbound Connectors Outbound Connector Lock] 
- Locks associated with this resource.
- password_secret_ strid 
- The OCID of the password for the LDAP bind account in the Vault.
- password_secret_ intversion 
- Version of the password secret in the Vault to use.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Mapping[str, str]
- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- 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 name of the availability domain. Example: Uocm:PHX-AD-1
- bindDistinguished StringName 
- The LDAP Distinguished Name of the account.
- compartmentId String
- The OCID of the compartment.
- connectorType String
- The account type of this outbound connector.
- Map<String>
- 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
- A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
- endpoints List<Property Map>
- Array of server endpoints to use when connecting with the LDAP bind account.
- Map<String>
- 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"}
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- isLock BooleanOverride 
- locks List<Property Map>
- Locks associated with this resource.
- passwordSecret StringId 
- The OCID of the password for the LDAP bind account in the Vault.
- passwordSecret NumberVersion 
- Version of the password secret in the Vault to use.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Map<String>
- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- timeCreated String
- The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
GetOutboundConnectorsOutboundConnectorEndpoint     
GetOutboundConnectorsOutboundConnectorLock     
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- Type string
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- type String
- Type of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated string
- The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- type string
- Type of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_created str
- The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- type str
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- type String
- Type of the lock.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.