1. Packages
  2. Formal Provider
  3. API Docs
  4. getConnector
Formal v1.1.0 published on Sunday, Mar 1, 2026 by Formal
formal logo
Formal v1.1.0 published on Sunday, Mar 1, 2026 by Formal

    Data source for looking up a Connector by name or by ID. Use either name or id, but not both.

    Using getConnector

    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 getConnector(args: GetConnectorArgs, opts?: InvokeOptions): Promise<GetConnectorResult>
    function getConnectorOutput(args: GetConnectorOutputArgs, opts?: InvokeOptions): Output<GetConnectorResult>
    def get_connector(id: Optional[str] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetConnectorResult
    def get_connector_output(id: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetConnectorResult]
    func LookupConnector(ctx *Context, args *LookupConnectorArgs, opts ...InvokeOption) (*LookupConnectorResult, error)
    func LookupConnectorOutput(ctx *Context, args *LookupConnectorOutputArgs, opts ...InvokeOption) LookupConnectorResultOutput

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

    public static class GetConnector 
    {
        public static Task<GetConnectorResult> InvokeAsync(GetConnectorArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
    public static Output<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
    
    fn::invoke:
      function: formal:index/getConnector:getConnector
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the Connector to look up.
    Name string
    The name of the Connector to look up. Use this to fetch a connector by name.
    Id string
    The ID of the Connector to look up.
    Name string
    The name of the Connector to look up. Use this to fetch a connector by name.
    id String
    The ID of the Connector to look up.
    name String
    The name of the Connector to look up. Use this to fetch a connector by name.
    id string
    The ID of the Connector to look up.
    name string
    The name of the Connector to look up. Use this to fetch a connector by name.
    id str
    The ID of the Connector to look up.
    name str
    The name of the Connector to look up. Use this to fetch a connector by name.
    id String
    The ID of the Connector to look up.
    name String
    The name of the Connector to look up. Use this to fetch a connector by name.

    getConnector Result

    The following output properties are available:

    ApiKey string
    Api key for the deployed Connector.
    SpaceId string
    The ID of the Space the Connector is in.
    TerminationProtection bool
    If set to true, this Connector cannot be deleted.
    Id string
    The ID of the Connector to look up.
    Name string
    The name of the Connector to look up. Use this to fetch a connector by name.
    ApiKey string
    Api key for the deployed Connector.
    SpaceId string
    The ID of the Space the Connector is in.
    TerminationProtection bool
    If set to true, this Connector cannot be deleted.
    Id string
    The ID of the Connector to look up.
    Name string
    The name of the Connector to look up. Use this to fetch a connector by name.
    apiKey String
    Api key for the deployed Connector.
    spaceId String
    The ID of the Space the Connector is in.
    terminationProtection Boolean
    If set to true, this Connector cannot be deleted.
    id String
    The ID of the Connector to look up.
    name String
    The name of the Connector to look up. Use this to fetch a connector by name.
    apiKey string
    Api key for the deployed Connector.
    spaceId string
    The ID of the Space the Connector is in.
    terminationProtection boolean
    If set to true, this Connector cannot be deleted.
    id string
    The ID of the Connector to look up.
    name string
    The name of the Connector to look up. Use this to fetch a connector by name.
    api_key str
    Api key for the deployed Connector.
    space_id str
    The ID of the Space the Connector is in.
    termination_protection bool
    If set to true, this Connector cannot be deleted.
    id str
    The ID of the Connector to look up.
    name str
    The name of the Connector to look up. Use this to fetch a connector by name.
    apiKey String
    Api key for the deployed Connector.
    spaceId String
    The ID of the Space the Connector is in.
    terminationProtection Boolean
    If set to true, this Connector cannot be deleted.
    id String
    The ID of the Connector to look up.
    name String
    The name of the Connector to look up. Use this to fetch a connector by name.

    Package Details

    Repository
    formal formalco/pulumi-formal
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the formal Terraform Provider.
    formal logo
    Formal v1.1.0 published on Sunday, Mar 1, 2026 by Formal
      Meet Neo: Your AI Platform Teammate