Microsoft Information Protection (MIP) SDK for C++: Reference 1.16
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
CloudDiscoveryDelegate Class Referenceabstract

Interface for overriding cloud discovery. More...

#include <src/api/mip/cloud_discovery_delegate.h>

Public Member Functions

virtual ServicesInfo GetServicesInfo (const mip::Cloud cloud, const mip::DataBoundary dataBoundary, const std::shared_ptr< void > &context)=0
 Get all services information for the given cloud and data boundary.
 
virtual ServicesInfo GetServicesInfo (const std::string &domainInfo, const std::shared_ptr< void > &context)=0
 Get all services information for the given domain info.
 
virtual void GetServicesInfoAsync (const mip::Cloud cloud, const mip::DataBoundary dataBoundary, const std::shared_ptr< void > &context, const std::function< void(const std::shared_ptr< CloudDiscoveryResult > &)> &callbackFn)=0
 Asynchronously get all services information for the given cloud and data boundary.
 
virtual void GetServicesInfoAsync (const std::string &domainInfo, const std::shared_ptr< void > &context, const std::function< void(const std::shared_ptr< CloudDiscoveryResult > &)> &callbackFn)=0
 Asynchronously get all services information for the given domain info.
 
virtual bool IsOffline () const =0
 if this cloud discovery delegate is offline only.
 
virtual bool IsSovereignCloud (const std::string &domainInfo, const std::shared_ptr< void > &context)=0
 detect if the given domain info is a sovereign cloud.
 
virtual void IsSovereignCloudAsync (const std::string &domainInfo, const std::shared_ptr< void > &context, const std::function< void(const std::shared_ptr< CloudDiscoveryResult > &)> &callbackFn)=0
 Asynchronously detect if the given domain info is a sovereign cloud.
 

Detailed Description

Interface for overriding cloud discovery.

Definition at line 135 of file cloud_discovery_delegate.h.

Member Function Documentation

◆ GetServicesInfo() [1/2]

virtual ServicesInfo CloudDiscoveryDelegate::GetServicesInfo ( const mip::Cloud cloud,
const mip::DataBoundary dataBoundary,
const std::shared_ptr< void > & context )
pure virtual

Get all services information for the given cloud and data boundary.

Parameters
cloudAzure cloud identifier Cloud.
dataBoundaryDiagnostic region identifier DataBoundary.
contextopaque client context.
Returns
a set of service information for the given cloud and data boundary.

◆ GetServicesInfo() [2/2]

virtual ServicesInfo CloudDiscoveryDelegate::GetServicesInfo ( const std::string & domainInfo,
const std::shared_ptr< void > & context )
pure virtual

Get all services information for the given domain info.

Parameters
domainInfodomain name or tenant Id.
contextopaque client context.
Returns
a set of service information ServicesInfo for the given domain info.

◆ GetServicesInfoAsync() [1/2]

virtual void CloudDiscoveryDelegate::GetServicesInfoAsync ( const mip::Cloud cloud,
const mip::DataBoundary dataBoundary,
const std::shared_ptr< void > & context,
const std::function< void(const std::shared_ptr< CloudDiscoveryResult > &)> & callbackFn )
pure virtual

Asynchronously get all services information for the given cloud and data boundary.

Parameters
cloudAzure cloud identifier Cloud.
dataBoundaryDiagnostic region identifier DataBoundary.
contextopaque client context.
callbackFnFunction that will be executed upon completion.

◆ GetServicesInfoAsync() [2/2]

virtual void CloudDiscoveryDelegate::GetServicesInfoAsync ( const std::string & domainInfo,
const std::shared_ptr< void > & context,
const std::function< void(const std::shared_ptr< CloudDiscoveryResult > &)> & callbackFn )
pure virtual

Asynchronously get all services information for the given domain info.

Parameters
domainInfodomain name or tenant Id.
contextopaque client context.
callbackFnFunction that will be executed upon completion.

◆ IsOffline()

virtual bool CloudDiscoveryDelegate::IsOffline ( ) const
pure virtual

if this cloud discovery delegate is offline only.

Returns
false if this cloud discovery delegate requires a network call, otherwise true.

◆ IsSovereignCloud()

virtual bool CloudDiscoveryDelegate::IsSovereignCloud ( const std::string & domainInfo,
const std::shared_ptr< void > & context )
pure virtual

detect if the given domain info is a sovereign cloud.

Parameters
domainInfodomain name or tenant Id.
contextopaque client context.
Returns
true if the given domain info is a sovereign cloud, false otherwise.

◆ IsSovereignCloudAsync()

virtual void CloudDiscoveryDelegate::IsSovereignCloudAsync ( const std::string & domainInfo,
const std::shared_ptr< void > & context,
const std::function< void(const std::shared_ptr< CloudDiscoveryResult > &)> & callbackFn )
pure virtual

Asynchronously detect if the given domain info is a sovereign cloud.

Parameters
domainInfodomain name or tenant Id.
contextopaque client context.
callbackFnFunction that will be executed upon completion.

The documentation for this class was generated from the following file: