List in-process package runtime epoch diagnostics.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/admin/function-operations/net-package-epochs"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/function-operations/net-package-epochs';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/admin/function-operations/net-package-epochs \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
In-process runtime epoch diagnostics for package .NET function execution.
object
Workspace runtime catalog key.
Package artifact identifier.
Package artifact hash.
Runtime epoch identifier.
Timestamp when the epoch was loaded.
Timestamp when the epoch started draining.
Timestamp when unload was requested.
Current active lease count.
Whether this epoch is draining.
Whether unload has been requested.
Whether the collectible load context has been collected.
Timestamp when diagnostics requested a full GC to confirm unload, when any.
Whether unload appears stuck past the diagnostic threshold.
Total bounded-correlation usage observations recorded by this epoch.
Most recent non-sensitive usage correlations.
Bounded, non-sensitive correlation evidence for one collectible runtime epoch.
object
Stable operation kind.
Stable function, provider, strategy, or automation key.
Timestamp when the operation was observed.
Business Function Run identifier, when the operation owns one.
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}