Documentation

Insights extends CloudApiBase implements CloudApiInterface

Class Insights

Table of Contents

$client ClientInterface
getAll() Returns Insight data for all sites associated with the application by its UUID. InsightsResponse
getEnvironment() Returns Insight data for all sites associated with the environment by its UUID. InsightsResponse
get() Returns insight data for a particular site. InsightResponse
getAllAlerts() Returns a list of Insight alerts for this site. InsightAlertsResponse
getAlert() Returns a specific Insight alert for this site. InsightAlertResponse
ignoreAlert() Ignores an alert. An ignored alert will be included will not be counted in the Insight score calculation. OperationResponse
restoreAlert() Restores an alert. A restored alert will be included in the calculation of the Insight score. OperationResponse
revoke() Revokes an Insight install so it can no longer submit data using the Acquia Connector module. OperationResponse
unrevoke() Un-revokes an Insight site so it can once again submit data using the Acquia Connector module. OperationResponse
getModules() Returns a list of Drupal modules for this site. InsightModulesResponse
__construct() Client constructor. mixed

Properties

Methods

getAll()

Returns Insight data for all sites associated with the application by its UUID.

public getAll( $applicationUuid : string ) : InsightsResponse
Parameters
$applicationUuid : string
Return values
InsightsResponse

getEnvironment()

Returns Insight data for all sites associated with the environment by its UUID.

public getEnvironment( $environmentUuid : string ) : InsightsResponse
Parameters
$environmentUuid : string
Return values
InsightsResponse

ignoreAlert()

Ignores an alert. An ignored alert will be included will not be counted in the Insight score calculation.

public ignoreAlert( $siteId : string , $alertUuid : string ) : OperationResponse
Parameters
$siteId : string
$alertUuid : string
Return values
OperationResponse

restoreAlert()

Restores an alert. A restored alert will be included in the calculation of the Insight score.

public restoreAlert( $siteId : string , $alertUuid : string ) : OperationResponse
Parameters
$siteId : string
$alertUuid : string
Return values
OperationResponse

revoke()

Revokes an Insight install so it can no longer submit data using the Acquia Connector module.

public revoke( $siteId : string ) : OperationResponse
Parameters
$siteId : string
Return values
OperationResponse

unrevoke()

Un-revokes an Insight site so it can once again submit data using the Acquia Connector module.

public unrevoke( $siteId : string ) : OperationResponse

Note that the site must also be unblocked using the Acquia Connector module.

Parameters
$siteId : string
Return values
OperationResponse

Search results