You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_connectionString_ - Azure Blob Storage connection string from your storage account. Required unless using `ServiceUri`.
41
41
42
-
_serviceUri_ - Uri to reference the blob service (e.g. https://{account_name}.blob.core.windows.net). Input for `BlobServiceClient`. Required, when `connectionString` is not configured. Overrides `connectionString` when both are set.
42
+
_serviceUri_ - Uri to reference the blob service (e.g. https://{account_name}.blob.core.windows.net). Alternative to ConnectionString, where Managed Identiy is applied from DefaultAzureCredential.
43
+
44
+
### Authentication Options
43
45
44
46
_managedIdentityClientId_ - Sets `ManagedIdentityClientId` on `DefaultAzureCredentialOptions`. Requires `serviceUri`.
_clientAuthSecret_ - clientSecret for `ClientSecretCredential` authentication. Requires `serviceUri`,`tenantIdentity` and `clientAuthId`.
59
61
62
+
### Proxy Options
63
+
60
64
_noProxy_ - Bypasses any system proxy and proxy in `ProxyAddress` when set to `true`.
61
65
62
66
_proxyAddress_ - Address of the proxy server to use (e.g. http://proxyserver:8080).
@@ -65,7 +69,7 @@ _proxyLogin_ - Login to use for the proxy server. Requires `proxyPassword`.
65
69
66
70
_proxyPassword_ - Password to use for the proxy server. Requires `proxyLogin`.
67
71
68
-
_useDefaultCredentialsForProxy_ - Uses the default credentials (`System.Net.CredentialCache.DefaultCredentials`) for the proxy server, overriding any values that may have been set in `proxyLogin` and `proxyPassword`.
72
+
_useDefaultCredentialsForProxy_ - Uses the default credentials (`System.Net.CredentialCache.DefaultCredentials`) for the proxy server.
_logTimeStampFormat_ - Default Log TimeStamp is set to 'O' for [Round-trip](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings#the-round-trip-o-o-format-specifier) format if not specified.
42
+
43
+
## Authentication Options
44
+
35
45
_managedIdentityClientId_ - Sets `ManagedIdentityClientId` on `DefaultAzureCredentialOptions`. Requires `serviceUri`
36
46
37
47
_managedIdentityResourceId_ - resourceId for `ManagedIdentityResourceId` on `DefaultAzureCredentialOptions`, do not use together with `ManagedIdentityClientId`. Requires `serviceUri`.
_clientAuthSecret_ - clientSecret for `ClientSecretCredential` authentication. Requires `serviceUri`,`tenantIdentity` and `clientAuthId`.
50
60
61
+
## Proxy Options
62
+
51
63
_noProxy_ - Bypasses any system proxy and proxy in `ProxyAddress` when set to `true`.
52
64
53
65
_proxyAddress_ - Address of the proxy server to use (e.g. http://proxyserver:8080).
@@ -56,15 +68,7 @@ _proxyLogin_ - Login to use for the proxy server. Requires `proxyPassword`.
56
68
57
69
_proxyPassword_ - Password to use for the proxy server. Requires `proxyLogin`.
58
70
59
-
_useDefaultCredentialsForProxy_ - Uses the default credentials (`System.Net.CredentialCache.DefaultCredentials`) for the proxy server, overriding any values that may have been set in `proxyLogin` and `proxyPassword`.
_logTimeStampFormat_ - Default Log TimeStamp is set to 'O' for [Round-trip](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings#the-round-trip-o-o-format-specifier) format if not specified.
71
+
_useDefaultCredentialsForProxy_ - Uses the default credentials (`System.Net.CredentialCache.DefaultCredentials`) for the proxy server.
68
72
69
73
### Dynamic TableEntity
70
74
Instead of using the predefined NLogEntity-properties, then one can specify wanted properties:
Copy file name to clipboardExpand all lines: src/NLog.Extensions.AzureEventGrid/README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@
28
28
</targets>
29
29
```
30
30
31
-
### Parameters
31
+
### General Options
32
32
33
33
_name_ - Name of the target.
34
34
@@ -48,6 +48,8 @@ _dataFormat_ - Format of the data-payload (Binary / Json). Default Binary. `Stri
48
48
49
49
_dataSchema_ - Schema version of the data-payload. [Layout](https://github.com/NLog/NLog/wiki/Layouts)
50
50
51
+
### Authentication Options
52
+
51
53
_managedIdentityClientId_ - Sets `ManagedIdentityClientId` on `DefaultAzureCredentialOptions`. Requires `serviceUri`.
52
54
53
55
_managedIdentityResourceId_ - resourceId for `ManagedIdentityResourceId` on `DefaultAzureCredentialOptions`, do not use together with `ManagedIdentityClientId`. Requires `serviceUri`.
_clientAuthSecret_ - clientSecret for `ClientSecretCredential` authentication. Requires `tenantIdentity` and `clientAuthId`.
64
66
67
+
### Proxy Options
68
+
65
69
_noProxy_ - Bypasses any system proxy and proxy in `ProxyAddress` when set to `true`.
66
70
67
71
_proxyAddress_ - Address of the proxy server to use (e.g. http://proxyserver:8080).
@@ -70,8 +74,7 @@ _proxyLogin_ - Login to use for the proxy server. Requires `proxyPassword`.
70
74
71
75
_proxyPassword_ - Password to use for the proxy server. Requires `proxyLogin`.
72
76
73
-
_useDefaultCredentialsForProxy_ - Uses the default credentials (`System.Net.CredentialCache.DefaultCredentials`) for the proxy server, overriding any values that may have been set in `proxyLogin` and `proxyPassword`.
74
-
Only applies if `noProxy` is not set to `true`.
77
+
_useDefaultCredentialsForProxy_ - Uses the default credentials (`System.Net.CredentialCache.DefaultCredentials`) for the proxy server.
/// Custom endpoint address that can be used when establishing the connection.
168
170
/// </summary>
169
171
publicLayoutCustomEndpointAddress{get;set;}
170
172
173
+
/// <summary>
174
+
/// A unique name used to identify the producer. If <c>null</c> or empty, a GUID will be used as the identifier.
175
+
/// </summary>
176
+
publicLayoutEventProducerIdentifier{get;set;}
177
+
178
+
/// <summary>
179
+
/// Bypasses any system proxy and proxy in <see cref="ProxyAddress"/> when set to <see langword="true"/>.
180
+
/// Overrides <see cref="ProxyAddress"/>.
181
+
/// </summary>
182
+
/// <remarks>Only applies when <see cref="UseWebSockets"/> = <see langword="true"/></remarks>
183
+
publicboolNoProxy{get;set;}
184
+
185
+
/// <summary>
186
+
/// Address of the proxy server to use (e.g. http://proxyserver:8080).
187
+
/// </summary>
188
+
/// <remarks>Only applies when <see cref="UseWebSockets"/> = <see langword="true"/></remarks>
189
+
publicLayoutProxyAddress{get;set;}
190
+
191
+
/// <summary>
192
+
/// Login to use for the proxy server. Requires <see cref="ProxyPassword"/>.
193
+
/// </summary>
194
+
/// <remarks>Only applies when <see cref="UseWebSockets"/> = <see langword="true"/></remarks>
195
+
publicLayoutProxyLogin{get;set;}
196
+
197
+
/// <summary>
198
+
/// Password to use for the proxy server. Requires <see cref="ProxyLogin"/>.
199
+
/// </summary>
200
+
/// <remarks>Only applies when <see cref="UseWebSockets"/> = <see langword="true"/></remarks>
201
+
publicLayoutProxyPassword{get;set;}
202
+
203
+
/// <summary>
204
+
/// Uses the default credentials (<see cref="System.Net.CredentialCache.DefaultCredentials"/>) for the proxy server, overriding any values that may have been set in <see cref="ProxyLogin"/> and <see cref="ProxyPassword"/>.
205
+
/// </summary>
206
+
/// <remarks>Only applies when <see cref="UseWebSockets"/> = <see langword="true"/></remarks>
207
+
publicboolUseDefaultCredentialsForProxy{get;set;}
208
+
171
209
/// <summary>
172
210
/// Gets a list of user properties (aka custom properties) to add to the AMQP message
0 commit comments