Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
diagnostic_configuration.h
Go to the documentation of this file.
1/*
2 *
3 * Copyright (c) Microsoft Corporation.
4 * All rights reserved.
5 *
6 * This code is licensed under the MIT License.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files(the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions :
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 *
26 */
33#ifndef API_MIP_DIAGNOSTIC_CONFIGURATION_H_
34#define API_MIP_DIAGNOSTIC_CONFIGURATION_H_
35
36#include <map>
37#include <memory>
38
39#include "mip/audit_delegate.h"
40#include "mip/http_delegate.h"
41#include "mip/mip_namespace.h"
44
45
46MIP_NAMESPACE_BEGIN
47
53 std::string hostNameOverride;
54 std::string libraryNameOverride;
55 std::shared_ptr<HttpDelegate> httpDelegateOverride;
58 std::shared_ptr<TaskDispatcherDelegate> taskDispatcherDelegateOverride;
65 bool isFastShutdownEnabled {false};
66 std::map<std::string, std::string> customSettings;
67 std::map<std::string, std::vector<std::string>> maskedProperties;
68 std::shared_ptr<AuditDelegate> auditPipelineDelegateOverride;
69 std::shared_ptr<TelemetryDelegate> telemetryPipelineDelegateOverride;
75};
76
83 bool isPiiAllowed = true;
84};
85
86MIP_NAMESPACE_END
87#endif // API_MIP_DIAGNOSTIC_CONFIGURATION_H_
A file containing the AuditDelegate class to be used to override MIP audit.
Cloud
Azure cloud identifier.
Definition common_types.h:728
DataBoundary
Diagnostic region identifier.
Definition common_types.h:745
Contains HttpDelegate interface definition used to override MIP HTTP stack.
MIP namespace macros.
Custom diagnostic configurations (not commonly used)
Definition diagnostic_configuration.h:52
DataBoundary dataBoundary
Definition diagnostic_configuration.h:71
std::map< std::string, std::vector< std::string > > maskedProperties
Definition diagnostic_configuration.h:67
int maxTeardownTimeSec
Definition diagnostic_configuration.h:73
bool isAuditPriorityEnhanced
Definition diagnostic_configuration.h:72
std::string libraryNameOverride
Definition diagnostic_configuration.h:54
std::shared_ptr< TelemetryDelegate > telemetryPipelineDelegateOverride
Definition diagnostic_configuration.h:69
bool isLocalCachingEnabled
Definition diagnostic_configuration.h:60
std::shared_ptr< AuditDelegate > auditPipelineDelegateOverride
Definition diagnostic_configuration.h:68
std::string hostNameOverride
Definition diagnostic_configuration.h:53
bool isMaxTeardownTimeEnabled
Definition diagnostic_configuration.h:74
bool isMinimalTelemetryEnabled
Definition diagnostic_configuration.h:64
bool isNetworkDetectionEnabled
Definition diagnostic_configuration.h:59
Cloud cloud
Definition diagnostic_configuration.h:70
std::shared_ptr< HttpDelegate > httpDelegateOverride
Definition diagnostic_configuration.h:55
bool isTraceLoggingEnabled
Definition diagnostic_configuration.h:63
std::map< std::string, std::string > customSettings
Definition diagnostic_configuration.h:66
bool isFastShutdownEnabled
Definition diagnostic_configuration.h:65
std::shared_ptr< TaskDispatcherDelegate > taskDispatcherDelegateOverride
Definition diagnostic_configuration.h:58
Configuration to use when default logging is enabled. This is set only once per process and any later...
Definition diagnostic_configuration.h:80
int maxLogFileCount
Definition diagnostic_configuration.h:82
int maxLogFileSizeMb
Definition diagnostic_configuration.h:81
bool isPiiAllowed
Definition diagnostic_configuration.h:83
A file containing the TaskDispatcherDelegate interface to be used to override MIP async task executor...
A file containing the TelemetryDelegate class to be used to override MIP telemetry.