# Packages
No description provided by the author
# Functions
BuildEnvironmentHostUri builds the host uri for the environmentid example input: 00000000-0000-0000-0000-000000000123 example output: 0000000000000001.23.environment.api.powerplatform.com.
BuildTenantHostUri builds the host uri for the tenantId example input: 00000000-0000-0000-0000-000000000123 example output: 0000000000000001.23.tenant.api.powerplatform.com.
CalculateSHA256 computes the SHA256 checksum of the file specified by filePath.
No description provided by the author
EnterProviderScope is a helper function that logs the start of a provider scope and returns a closure that can be used to defer the loging of the exit of the provider scope.
EnterRequestScope is a helper function that logs the start of a request scope and returns a closure that can be used to defer the exit of the request scope This function should be called at the start of a resource or data source request function The returned closure should be deferred at the start of the function The closure will log the end of the request scope The context is updated with the request context so that it can be accessed in lower level functions.
No description provided by the author
GetConfigBool returns the value of the configValue if it is not null, otherwise it returns the value of the default value.
GetConfigMultiString returns the value of the configValue if it is not null, otherwise it returns the value of the first environment variable that is set, otherwise it returns the defaultValue.
GetConfigString returns the value of the configValue if it is not null, otherwise it returns the value of the environmentVariableName environment variable if it is set, otherwise it returns the defaultValue.
IsTestContext returns true if the context is a test context.
TestContext creates a new context with the test context value.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
Context keys for the execution and request context.
No description provided by the author
No description provided by the author
Context keys for the execution and request context.
No description provided by the author
Context keys for the execution and request context.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
RequestContextValue is a struct that holds the object type, request type, object name and request id for a given request.
TestContextValue is a struct that holds the test name for a given test.
TypeInfo represents a managed object type in the provider such as a resource or data source.
# Interfaces
AllowedProviderRequestTypes is an interface that defines the allowed request types for the EnterProviderContext function.
AllowedRequestTypes is an interface that defines the allowed request types for the getRequestTypeName function.
# Type aliases
ContextKey is a custom type for context keys.