1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FileStorage
  5. getOutboundConnector
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.FileStorage.getOutboundConnector

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides details about a specific Outbound Connector resource in Oracle Cloud Infrastructure File Storage service.

    Gets the specified outbound connector’s information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOutboundConnector = oci.FileStorage.getOutboundConnector({
        outboundConnectorId: testOutboundConnectorOciFileStorageOutboundConnector.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_outbound_connector = oci.FileStorage.get_outbound_connector(outbound_connector_id=test_outbound_connector_oci_file_storage_outbound_connector["id"])
    
    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.GetOutboundConnector(ctx, &filestorage.GetOutboundConnectorArgs{
    			OutboundConnectorId: testOutboundConnectorOciFileStorageOutboundConnector.Id,
    		}, 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 testOutboundConnector = Oci.FileStorage.GetOutboundConnector.Invoke(new()
        {
            OutboundConnectorId = testOutboundConnectorOciFileStorageOutboundConnector.Id,
        });
    
    });
    
    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.GetOutboundConnectorArgs;
    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 testOutboundConnector = FileStorageFunctions.getOutboundConnector(GetOutboundConnectorArgs.builder()
                .outboundConnectorId(testOutboundConnectorOciFileStorageOutboundConnector.id())
                .build());
    
        }
    }
    
    variables:
      testOutboundConnector:
        fn::invoke:
          Function: oci:FileStorage:getOutboundConnector
          Arguments:
            outboundConnectorId: ${testOutboundConnectorOciFileStorageOutboundConnector.id}
    

    Using getOutboundConnector

    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 getOutboundConnector(args: GetOutboundConnectorArgs, opts?: InvokeOptions): Promise<GetOutboundConnectorResult>
    function getOutboundConnectorOutput(args: GetOutboundConnectorOutputArgs, opts?: InvokeOptions): Output<GetOutboundConnectorResult>
    def get_outbound_connector(outbound_connector_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetOutboundConnectorResult
    def get_outbound_connector_output(outbound_connector_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetOutboundConnectorResult]
    func GetOutboundConnector(ctx *Context, args *GetOutboundConnectorArgs, opts ...InvokeOption) (*GetOutboundConnectorResult, error)
    func GetOutboundConnectorOutput(ctx *Context, args *GetOutboundConnectorOutputArgs, opts ...InvokeOption) GetOutboundConnectorResultOutput

    > Note: This function is named GetOutboundConnector in the Go SDK.

    public static class GetOutboundConnector 
    {
        public static Task<GetOutboundConnectorResult> InvokeAsync(GetOutboundConnectorArgs args, InvokeOptions? opts = null)
        public static Output<GetOutboundConnectorResult> Invoke(GetOutboundConnectorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOutboundConnectorResult> getOutboundConnector(GetOutboundConnectorArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:FileStorage/getOutboundConnector:getOutboundConnector
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutboundConnectorId string
    The OCID of the outbound connector.
    OutboundConnectorId string
    The OCID of the outbound connector.
    outboundConnectorId String
    The OCID of the outbound connector.
    outboundConnectorId string
    The OCID of the outbound connector.
    outbound_connector_id str
    The OCID of the outbound connector.
    outboundConnectorId String
    The OCID of the outbound connector.

    getOutboundConnector 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
    BindDistinguishedName string
    The LDAP Distinguished Name of the account.
    CompartmentId string
    The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    DefinedTags 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. Avoid entering confidential information. Example: My outbound connector
    Endpoints List<GetOutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    FreeformTags 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
    The OCID of the outbound connector.
    IsLockOverride bool
    Locks List<GetOutboundConnectorLock>
    Locks associated with this resource.
    OutboundConnectorId string
    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.
    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 account.
    CompartmentId string
    The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    DefinedTags 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. Avoid entering confidential information. Example: My outbound connector
    Endpoints []GetOutboundConnectorEndpoint
    Array of server endpoints to use when connecting with the LDAP bind account.
    FreeformTags 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
    The OCID of the outbound connector.
    IsLockOverride bool
    Locks []GetOutboundConnectorLock
    Locks associated with this resource.
    OutboundConnectorId string
    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.
    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 account.
    compartmentId String
    The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    definedTags 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. Avoid entering confidential information. Example: My outbound connector
    endpoints List<GetOutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags 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
    The OCID of the outbound connector.
    isLockOverride Boolean
    locks List<GetOutboundConnectorLock>
    Locks associated with this resource.
    outboundConnectorId String
    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.
    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 account.
    compartmentId string
    The OCID of the compartment that contains the outbound connector.
    connectorType string
    The account type of this outbound connector.
    definedTags {[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. Avoid entering confidential information. Example: My outbound connector
    endpoints GetOutboundConnectorEndpoint[]
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags {[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
    The OCID of the outbound connector.
    isLockOverride boolean
    locks GetOutboundConnectorLock[]
    Locks associated with this resource.
    outboundConnectorId string
    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.
    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 account.
    compartment_id str
    The OCID of the compartment that contains the outbound connector.
    connector_type str
    The account type of this outbound connector.
    defined_tags 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. Avoid entering confidential information. Example: My outbound connector
    endpoints Sequence[filestorage.GetOutboundConnectorEndpoint]
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeform_tags 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
    The OCID of the outbound connector.
    is_lock_override bool
    locks Sequence[filestorage.GetOutboundConnectorLock]
    Locks associated with this resource.
    outbound_connector_id str
    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.
    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 account.
    compartmentId String
    The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    definedTags 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. 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<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
    The OCID of the outbound connector.
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.
    outboundConnectorId String
    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.
    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

    GetOutboundConnectorEndpoint

    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.

    GetOutboundConnectorLock

    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.
    RelatedResourceId 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.
    RelatedResourceId 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.
    relatedResourceId 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.
    relatedResourceId 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.
    related_resource_id 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.
    relatedResourceId 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi