Azure.Connectors.Sdk Namespace

Classes

Name Description
ConnectorClientBase

Abstract base class for generated connector clients. Provides shared infrastructure: authentication via Azure.Core HttpPipeline, JSON serialization, URL resolution with SSRF protection, and configurable retry/diagnostics through ConnectorClientOptions.

ConnectorClientOptions

Configuration options for connector clients. Inherits from ClientOptions to provide Azure SDK standard retry, transport, and diagnostics configuration.

ConnectorConnectionOptions

Represents connection settings resolved from Azure Functions configuration. Settings use the __ separator convention (e.g., Office365Connection__connectorGatewayName).

ConnectorConnectionResolver

Resolves connector connection settings from Azure Functions configuration. Reads settings using the __ separator convention.

ConnectorException

Exception thrown when a connector API operation fails. Inherits from RequestFailedException so that consumers can catch all Azure SDK HTTP errors (including connector errors) with a single catch block.

ConnectorModelFactory

Factory methods for constructing TriggerCallbackPayload<T>(TriggerCallbackBody<T>) and TriggerCallbackBody<T>(IReadOnlyList<T>) model instances for use in unit tests and mocks.

ConnectorNames

Well-known connector names for connectors with SDK-generated clients. Use these constants with the [ConnectorTrigger] attribute's ConnectorName property for IntelliSense and compile-time validation.

ConnectorServiceCollectionExtensions

Extension methods for registering connector clients in IServiceCollection. Each method binds connection settings from an IConfiguration section and registers the client as a singleton.

ConnectorTriggerPayload

Helpers that turn a raw Connector Namespace trigger callback (an HTTP body delivered as a String or Stream) into a typed TriggerCallbackPayload<T> or into the decoded file bytes of a binary-content trigger.

DynamicSchemaAttribute

Marks a parameter or type whose schema is dynamically determined at runtime via a discovery endpoint. The discovery operation returns a JSON Schema describing the available properties based on user-selected parameters.

DynamicValuesAttribute

Marks a parameter whose values are dynamically populated by a discovery operation at design time.

SdkConnectors

Provides a list of available SDK connectors.

TriggerCallbackBody<T>

Inner body of the Connector Namespace trigger callback, containing the array of trigger items. Deserialization is handled by Azure.Connectors.Sdk.TriggerCallbackBodyConverterFactory which accepts both batch ({"value":[...]}) and single-item ({...item...}) JSON shapes.

TriggerCallbackPayload<T>

Envelope type for Connector Namespace trigger callback payloads. The Connector Namespace delivers callbacks in two shapes depending on the trigger configuration's splitOn setting:

  • Batch (splitOn disabled): {"body":{"value":[...items...]}}
  • Single-item (splitOn enabled): {"body":{...item...}}
The Azure.Connectors.Sdk.TriggerCallbackBodyConverterFactory handles both shapes transparently, always normalizing into Value as a list.

Enums

Name Description
ConnectorClientOptions.ServiceVersion

The service version of the Connector SDK API.