Interface for overriding cloud discovery.
More...
#include <src/api/mip/cloud_discovery_delegate.h>
|
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.
|
|
Interface for overriding cloud discovery.
Definition at line 135 of file cloud_discovery_delegate.h.
◆ 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
-
cloud | Azure cloud identifier Cloud. |
dataBoundary | Diagnostic region identifier DataBoundary. |
context | opaque 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
-
domainInfo | domain name or tenant Id. |
context | opaque 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
-
cloud | Azure cloud identifier Cloud. |
dataBoundary | Diagnostic region identifier DataBoundary. |
context | opaque client context. |
callbackFn | Function 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
-
domainInfo | domain name or tenant Id. |
context | opaque client context. |
callbackFn | Function 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
-
domainInfo | domain name or tenant Id. |
context | opaque 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
-
domainInfo | domain name or tenant Id. |
context | opaque client context. |
callbackFn | Function that will be executed upon completion. |
The documentation for this class was generated from the following file: