1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getAs2Partner
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    An AS2Partner is a counterparty of the Files.com site’s AS2 connectivity. Generally you will have one AS2 Partner created for each counterparty with whom you send and/or receive files via AS2.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleAs2Partner = filescom.getAs2Partner({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_as2_partner = filescom.get_as2_partner(id=1)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.GetAs2Partner(ctx, &filescom.LookupAs2PartnerArgs{
    			Id: 1,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleAs2Partner = Filescom.GetAs2Partner.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetAs2PartnerArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 exampleAs2Partner = FilescomFunctions.getAs2Partner(GetAs2PartnerArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleAs2Partner:
        fn::invoke:
          function: filescom:getAs2Partner
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getas2partner" "exampleAs2Partner" {
      id = 1
    }
    

    Using getAs2Partner

    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 getAs2Partner(args: GetAs2PartnerArgs, opts?: InvokeOptions): Promise<GetAs2PartnerResult>
    function getAs2PartnerOutput(args: GetAs2PartnerOutputArgs, opts?: InvokeOutputOptions): Output<GetAs2PartnerResult>
    def get_as2_partner(id: Optional[int] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAs2PartnerResult
    def get_as2_partner_output(id: pulumi.Input[Optional[int]] = None,
                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetAs2PartnerResult]
    func LookupAs2Partner(ctx *Context, args *LookupAs2PartnerArgs, opts ...InvokeOption) (*LookupAs2PartnerResult, error)
    func LookupAs2PartnerOutput(ctx *Context, args *LookupAs2PartnerOutputArgs, opts ...InvokeOption) LookupAs2PartnerResultOutput

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

    public static class GetAs2Partner 
    {
        public static Task<GetAs2PartnerResult> InvokeAsync(GetAs2PartnerArgs args, InvokeOptions? opts = null)
        public static Output<GetAs2PartnerResult> Invoke(GetAs2PartnerInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAs2PartnerResult> Invoke(GetAs2PartnerInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAs2PartnerResult> getAs2Partner(GetAs2PartnerArgs args, InvokeOptions options)
    public static Output<GetAs2PartnerResult> getAs2Partner(GetAs2PartnerArgs args, InvokeOptions options)
    public static Output<GetAs2PartnerResult> getAs2Partner(GetAs2PartnerArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getAs2Partner:getAs2Partner
      arguments:
        # arguments dictionary
    data "filescom_get_as2_partner" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    ID of the AS2 Partner.
    Id int
    ID of the AS2 Partner.
    id number
    ID of the AS2 Partner.
    id Integer
    ID of the AS2 Partner.
    id number
    ID of the AS2 Partner.
    id int
    ID of the AS2 Partner.
    id Number
    ID of the AS2 Partner.

    getAs2Partner Result

    The following output properties are available:

    AdditionalHttpHeaders object
    Additional HTTP Headers for outgoing message sent to this partner.
    As2StationId int
    ID of the AS2 Station associated with this partner.
    DefaultMimeType string
    Default mime type of the file attached to the encrypted message
    EnableDedicatedIps bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    HexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    HttpAuthUsername string
    Username to send to server for HTTP Authentication.
    Id int
    ID of the AS2 Partner.
    MdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    Name string
    The partner's formal AS2 name.
    PublicCertificate string
    Public certificate used for message security.
    PublicCertificateIssuer string
    Issuer of public certificate used for message security.
    PublicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    PublicCertificateNotAfter string
    Not after value of public certificate used for message security.
    PublicCertificateNotBefore string
    Not before value of public certificate used for message security.
    PublicCertificateSerial string
    Serial of public certificate used for message security.
    PublicCertificateSubject string
    Subject of public certificate used for message security.
    ServerCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    SignatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    Uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    WorkspaceId int
    ID of the Workspace associated with this AS2 Partner.
    AdditionalHttpHeaders interface{}
    Additional HTTP Headers for outgoing message sent to this partner.
    As2StationId int
    ID of the AS2 Station associated with this partner.
    DefaultMimeType string
    Default mime type of the file attached to the encrypted message
    EnableDedicatedIps bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    HexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    HttpAuthUsername string
    Username to send to server for HTTP Authentication.
    Id int
    ID of the AS2 Partner.
    MdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    Name string
    The partner's formal AS2 name.
    PublicCertificate string
    Public certificate used for message security.
    PublicCertificateIssuer string
    Issuer of public certificate used for message security.
    PublicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    PublicCertificateNotAfter string
    Not after value of public certificate used for message security.
    PublicCertificateNotBefore string
    Not before value of public certificate used for message security.
    PublicCertificateSerial string
    Serial of public certificate used for message security.
    PublicCertificateSubject string
    Subject of public certificate used for message security.
    ServerCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    SignatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    Uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    WorkspaceId int
    ID of the Workspace associated with this AS2 Partner.
    additional_http_headers any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2_station_id number
    ID of the AS2 Station associated with this partner.
    default_mime_type string
    Default mime type of the file attached to the encrypted message
    enable_dedicated_ips bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hex_public_certificate_serial string
    Serial of public certificate used for message security in hex format.
    http_auth_username string
    Username to send to server for HTTP Authentication.
    id number
    ID of the AS2 Partner.
    mdn_validation_level string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name string
    The partner's formal AS2 name.
    public_certificate string
    Public certificate used for message security.
    public_certificate_issuer string
    Issuer of public certificate used for message security.
    public_certificate_md5 string
    MD5 hash of public certificate used for message security.
    public_certificate_not_after string
    Not after value of public certificate used for message security.
    public_certificate_not_before string
    Not before value of public certificate used for message security.
    public_certificate_serial string
    Serial of public certificate used for message security.
    public_certificate_subject string
    Subject of public certificate used for message security.
    server_certificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signature_validation_level string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspace_id number
    ID of the Workspace associated with this AS2 Partner.
    additionalHttpHeaders Object
    Additional HTTP Headers for outgoing message sent to this partner.
    as2StationId Integer
    ID of the AS2 Station associated with this partner.
    defaultMimeType String
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps Boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hexPublicCertificateSerial String
    Serial of public certificate used for message security in hex format.
    httpAuthUsername String
    Username to send to server for HTTP Authentication.
    id Integer
    ID of the AS2 Partner.
    mdnValidationLevel String
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name String
    The partner's formal AS2 name.
    publicCertificate String
    Public certificate used for message security.
    publicCertificateIssuer String
    Issuer of public certificate used for message security.
    publicCertificateMd5 String
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter String
    Not after value of public certificate used for message security.
    publicCertificateNotBefore String
    Not before value of public certificate used for message security.
    publicCertificateSerial String
    Serial of public certificate used for message security.
    publicCertificateSubject String
    Subject of public certificate used for message security.
    serverCertificate String
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel String
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri String
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspaceId Integer
    ID of the Workspace associated with this AS2 Partner.
    additionalHttpHeaders any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2StationId number
    ID of the AS2 Station associated with this partner.
    defaultMimeType string
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    httpAuthUsername string
    Username to send to server for HTTP Authentication.
    id number
    ID of the AS2 Partner.
    mdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name string
    The partner's formal AS2 name.
    publicCertificate string
    Public certificate used for message security.
    publicCertificateIssuer string
    Issuer of public certificate used for message security.
    publicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter string
    Not after value of public certificate used for message security.
    publicCertificateNotBefore string
    Not before value of public certificate used for message security.
    publicCertificateSerial string
    Serial of public certificate used for message security.
    publicCertificateSubject string
    Subject of public certificate used for message security.
    serverCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspaceId number
    ID of the Workspace associated with this AS2 Partner.
    additional_http_headers Any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2_station_id int
    ID of the AS2 Station associated with this partner.
    default_mime_type str
    Default mime type of the file attached to the encrypted message
    enable_dedicated_ips bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hex_public_certificate_serial str
    Serial of public certificate used for message security in hex format.
    http_auth_username str
    Username to send to server for HTTP Authentication.
    id int
    ID of the AS2 Partner.
    mdn_validation_level str
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name str
    The partner's formal AS2 name.
    public_certificate str
    Public certificate used for message security.
    public_certificate_issuer str
    Issuer of public certificate used for message security.
    public_certificate_md5 str
    MD5 hash of public certificate used for message security.
    public_certificate_not_after str
    Not after value of public certificate used for message security.
    public_certificate_not_before str
    Not before value of public certificate used for message security.
    public_certificate_serial str
    Serial of public certificate used for message security.
    public_certificate_subject str
    Subject of public certificate used for message security.
    server_certificate str
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signature_validation_level str
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri str
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspace_id int
    ID of the Workspace associated with this AS2 Partner.
    additionalHttpHeaders Any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2StationId Number
    ID of the AS2 Station associated with this partner.
    defaultMimeType String
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps Boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hexPublicCertificateSerial String
    Serial of public certificate used for message security in hex format.
    httpAuthUsername String
    Username to send to server for HTTP Authentication.
    id Number
    ID of the AS2 Partner.
    mdnValidationLevel String
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name String
    The partner's formal AS2 name.
    publicCertificate String
    Public certificate used for message security.
    publicCertificateIssuer String
    Issuer of public certificate used for message security.
    publicCertificateMd5 String
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter String
    Not after value of public certificate used for message security.
    publicCertificateNotBefore String
    Not before value of public certificate used for message security.
    publicCertificateSerial String
    Serial of public certificate used for message security.
    publicCertificateSubject String
    Subject of public certificate used for message security.
    serverCertificate String
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel String
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri String
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspaceId Number
    ID of the Workspace associated with this AS2 Partner.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial