Skip to content

Commit cd4073e

Browse files
Adding clarity on how to use outputs with Azure SDKs
1 parent 23646e7 commit cd4073e

7 files changed

+17
-10
lines changed

includes/functions-bindings-cosmosdb-v2-output-dotnet-isolated-types.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ When you want the function to write to multiple documents, the Cosmos DB output
1818
| --- | --- |
1919
| `T[]` where `T` is JSON serializable type | An array containing multiple documents. Each entry represents one document. |
2020

21-
For other output scenarios, create and use types from [Microsoft.Azure.Cosmos] directly.
21+
For other output scenarios, create and use a [CosmosClient] with other types from [Microsoft.Azure.Cosmos] directly. See [Register Azure clients](../articles/azure-functions/dotnet-isolated-process-guide.md#register-azure-clients) for an example of using dependency injection to create a client type from the Azure SDK.
2222

2323
[Microsoft.Azure.Cosmos]: /dotnet/api/microsoft.azure.cosmos
24+
[CosmosClient]: /dotnet/api/microsoft.azure.cosmos.cosmosclient

includes/functions-bindings-event-grid-output-dotnet-isolated-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ When you want the function to write multiple events, the Event Grid output bindi
2020
| --- | --- |
2121
| `T[]` where `T` is one of the single event types | An array containing multiple events. Each entry represents one event. |
2222

23-
For other output scenarios, create and use types from [Azure.Messaging.EventGrid] directly.
23+
For other output scenarios, create and use an [EventGridPublisherClient] with other types from [Azure.Messaging.EventGrid] directly. See [Register Azure clients](../articles/azure-functions/dotnet-isolated-process-guide.md#register-azure-clients) for an example of using dependency injection to create a client type from the Azure SDK.
2424

2525
[Azure.Messaging.EventGrid]: /dotnet/api/azure.messaging.eventgrid
26-
26+
[EventGridPublisherClient]: /dotnet/api/azure.messaging.eventgrid.eventgridpublisherclient

includes/functions-bindings-event-hubs-output-dotnet-isolated-types.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ When you want the function to write multiple events, the Event Hubs output bindi
2020
| --- | --- |
2121
| `T[]` where `T` is one of the single event types | An array containing multiple events. Each entry represents one event. |
2222

23-
For other output scenarios, create and use types from [Microsoft.Azure.EventHubs] directly.
23+
For other output scenarios, create and use an [EventHubProducerClient] with other types from [Azure.Messaging.EventHubs] directly. See [Register Azure clients](../articles/azure-functions/dotnet-isolated-process-guide.md#register-azure-clients) for an example of using dependency injection to create a client type from the Azure SDK.
2424

25-
[Microsoft.Azure.EventHubs]: /dotnet/api/microsoft.azure.eventhubs
25+
[Azure.Messaging.EventHubs]: /dotnet/api/azure.messaging.eventhubs
26+
[EventHubProducerClient]: /dotnet/api/azure.messaging.eventhubs.producer.eventhubproducerclient

includes/functions-bindings-service-bus-output-dotnet-isolated-types.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ When you want the function to write multiple messages, the Service Bus output bi
2020
| --- | --- |
2121
| `T[]` where `T` is one of the single message types | An array containing multiple message. Each entry represents one message. |
2222

23-
For other output scenarios, create and use types from [Azure.Messaging.ServiceBus] directly.
23+
For other output scenarios, create and use a [ServiceBusClient] with other types from [Azure.Messaging.ServiceBus] directly. See [Register Azure clients](../articles/azure-functions/dotnet-isolated-process-guide.md#register-azure-clients) for an example of using dependency injection to create a client type from the Azure SDK.
2424

25-
[Azure.Messaging.ServiceBus]: /dotnet/api/azure.messaging.servicebus
25+
[Azure.Messaging.ServiceBus]: /dotnet/api/azure.messaging.servicebus
26+
[ServiceBusClient]: /dotnet/api/azure.messaging.servicebus.servicebusclient

includes/functions-bindings-storage-blob-output-dotnet-isolated-types.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ When you want the function to write to multiple blobs, the blob output binding c
2020
| --- | --- |
2121
| `T[]` where `T` is one of the single blob output binding types | An array containing content for multiple blobs. Each entry represents the content of one blob. |
2222

23-
For other output scenarios, create and use types from [Azure.Storage.Blobs] directly.
23+
For other output scenarios, create and use a [BlobClient] or [BlobContainerClient] with other types from [Azure.Storage.Blobs] directly. See [Register Azure clients](../articles/azure-functions/dotnet-isolated-process-guide.md#register-azure-clients) for an example of using dependency injection to create a client type from the Azure SDK.
2424

2525
[Azure.Storage.Blobs]: /dotnet/api/azure.storage.blobs
26+
[BlobClient]: /dotnet/api/azure.storage.blobs.blobclient
27+
[BlobContainerClient]: /dotnet/api/azure.storage.blobs.blobcontainerclient

includes/functions-bindings-storage-queue-output-dotnet-isolated-types.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ When you want the function to write multiple messages, the queue output binding
2020
| --- | --- |
2121
| `T[]` where `T` is one of the single message types | An array containing content for multiple messages. Each entry represents one message. |
2222

23-
For other output scenarios, create and use types from [Azure.Storage.Queues] directly.
23+
For other output scenarios, create and use a [QueueClient] with other types from [Azure.Storage.Queues] directly. See [Register Azure clients](../articles/azure-functions/dotnet-isolated-process-guide.md#register-azure-clients) for an example of using dependency injection to create a client type from the Azure SDK.
2424

2525
[Azure.Storage.Queues]: /dotnet/api/azure.storage.queues
26+
[QueueClient]: /dotnet/api/azure.storage.queues.queueclient

includes/functions-bindings-table-output-dotnet-isolated-types.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ When you want the function to write to multiple entities, the Azure Tables outpu
1818
| --- | --- |
1919
| `T[]` where `T` is one of the single entity types | An array containing multiple entities. Each entry represents one entity. |
2020

21-
For other output scenarios, create and use types from [Azure.Data.Tables] directly.
21+
For other output scenarios, create and use a [TableClient] with other types from [Azure.Data.Tables] directly. See [Register Azure clients](../articles/azure-functions/dotnet-isolated-process-guide.md#register-azure-clients) for an example of using dependency injection to create a client type from the Azure SDK.
2222

2323
[Azure.Data.Tables]: /dotnet/api/azure.data.tables
24+
[TableClient]: /dotnet/api/azure.data.tables.tableclient

0 commit comments

Comments
 (0)