Microsoft Information Protection (MIP) SDK for C: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C
Loading...
Searching...
No Matches
telemetry_configuration_cc.h File Reference

Defines custom telemetry settings. More...

+ Include dependency graph for telemetry_configuration_cc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef mip_cc_handlemip_cc_telemetry_configuration
 

Functions

 MIP_CC_API (mip_cc_result) MIP_CC_CreateTelemetryConfiguration(mip_cc_telemetry_configuration *telemetryConfig
 Create a settings object used to create a protection profile.
 
 MIP_CC_API (void) MIP_CC_ReleaseTelemetryConfiguration(mip_cc_telemetry_configuration telemetryConfig)
 Release resources associated with a protection profile settings.
 

Variables

const mip_cc_dictionary customSettings
 
mip_cc_errorerrorInfo
 
const char * eventName
 
const char * hostName
 
const mip_cc_http_delegate httpDelegate
 
const bool isCachingEnabled
 
const bool isFastShutdownEnabled
 
const bool isMinimalTelemetryEnabled
 
const bool isNetworkDetectionEnabled
 
const bool isTraceLoggingEnabled
 
const char * libraryName
 
const char const char * propertyName
 
const mip_cc_task_dispatcher_delegate taskDispatcherDelegate
 

Detailed Description

Defines custom telemetry settings.

Definition in file telemetry_configuration_cc.h.

Typedef Documentation

◆ mip_cc_telemetry_configuration

Function Documentation

◆ MIP_CC_API() [1/2]

MIP_CC_API ( mip_cc_result )

Create a settings object used to create a protection profile.

Sets a telemetry property to mask.

Sets custom telemetry settings.

Sets whether fast telemetry shutdown is enabled or not.

Sets whether or not an application/user has opted out of optional telemetry.

Sets whether or not the telemetry component is allowed to write logs to disk.

Sets whether or not the telemetry component is allowed to write caches to disk.

Sets whether or not the telemetry component is allowed ping network status on a background thread.

Override default async task dispatcher with client's own.

Override default telemetry HTTP stack with client's own.

Set a telemetry shared library override.

Set a telemetry host name which will override internal telemetry settings.

Parameters
telemetryConfig[Output] Newly-created telemetry configuration instance containing default settings
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
telemetryConfigTelemetry configuration
hostNameHost name
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
This property is set when a client application uses the same Aria/1DS telemetry component and wishes for its internal telemetry settings (caching, logging, priority etc.) to be used instead of MIP's default settings
Parameters
telemetryConfigTelemetry configuration
libraryNameName of DLL that implements the Aria/1DS SDK's C API
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
This property is set when a client has an existing telemetry DLL that implements the Aria/1DS SDK's C API that should be used instead of mip_ClientTelemetry.dll
Parameters
telemetryConfigTelemetry configuration
httpDelegateHTTP callback instance implemented by client application
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
If this property is not set, the telemetry component will use MIP's default HTTP stack
Parameters
telemetryConfigTelemetry configuration
taskDispatcherDelegateTask dispatcher callback instance implemented by client application
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
telemetryConfigTelemetry configuration
isCachingEnabledWhether or not the telemetry component is allowed ping network status on a background thread
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
Default is 'true'
Parameters
telemetryConfigTelemetry configuration
isCachingEnabledWhether or not the telemetry component is allowed to write caches to disk
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
Default is 'true'
Parameters
telemetryConfigTelemetry configuration
isTraceLoggingEnabledWhether or not the telemetry component is allowed to write logs to disk. These files can grow to be very large, and may require manual cleanup from the host application.
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
Default is 'true'
Parameters
telemetryConfigTelemetry configuration
isMinimalTelemetryEnabledWhether or not an application/user has opted out of optional telemetry
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
Default is 'false'
Parameters
telemetryConfigTelemetry configuration
isFastShutdownEnabledWhether or not the telemetry fast shutdown is enabled
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
Default is 'false'
Parameters
telemetryConfigTelemetry configuration
customSettingsCustom telemetry settings
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
telemetryConfigTelemetry configuration
eventNameEvent name
propertyNameProperty name
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure

◆ MIP_CC_API() [2/2]

MIP_CC_API ( void )

Release resources associated with a protection profile settings.

Parameters
profileSettingsProtection profile settings to be released

Variable Documentation

◆ customSettings

const mip_cc_dictionary customSettings

Definition at line 214 of file telemetry_configuration_cc.h.

◆ errorInfo

Definition at line 56 of file telemetry_configuration_cc.h.

◆ eventName

const char* eventName

Definition at line 229 of file telemetry_configuration_cc.h.

◆ hostName

const char* hostName

Definition at line 72 of file telemetry_configuration_cc.h.

◆ httpDelegate

const mip_cc_http_delegate httpDelegate

Definition at line 105 of file telemetry_configuration_cc.h.

◆ isCachingEnabled

const bool isCachingEnabled

Definition at line 151 of file telemetry_configuration_cc.h.

◆ isFastShutdownEnabled

const bool isFastShutdownEnabled

Definition at line 200 of file telemetry_configuration_cc.h.

◆ isMinimalTelemetryEnabled

const bool isMinimalTelemetryEnabled

Definition at line 184 of file telemetry_configuration_cc.h.

◆ isNetworkDetectionEnabled

const bool isNetworkDetectionEnabled

Definition at line 135 of file telemetry_configuration_cc.h.

◆ isTraceLoggingEnabled

const bool isTraceLoggingEnabled

Definition at line 168 of file telemetry_configuration_cc.h.

◆ libraryName

const char* libraryName

Definition at line 89 of file telemetry_configuration_cc.h.

◆ propertyName

const char const char* propertyName

Definition at line 230 of file telemetry_configuration_cc.h.

◆ taskDispatcherDelegate

const mip_cc_task_dispatcher_delegate taskDispatcherDelegate

Definition at line 119 of file telemetry_configuration_cc.h.