Contains methods used to get traceIds, commands and bodies from the Azure Function context.
Description
The AzureFunctionContextHelper class contains methods used to get traceIds, commands and bodies from the Azure Function context.
Instance methods
get_trace_id
Returns a traceId from the Azure Function context.
staticmethod
get_trace_id(context: HttpRequest): str:
- context: HttpRequest - Azure Function context.
- returns: str - returned traceId from context.
get_command
Returns a command from the Azure Function context.
staticmethod
get_command(context: HttpRequest): str
- context: HttpRequest - Azure Function context.
- returns: str - returned command from context.
get_parameters
Returns a body from the Azure Function context http request.
staticmethod
get_parameters(context: HttpRequest): Parameters
- context: HttpRequest - Azure Function context.
- returns: Parameters - returned body from context.