Google Anthos Multi Cloud V1 Client - Class MonitoringConfig (1.2.2)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class MonitoringConfig.

Parameters that describe the Monitoring configuration in a cluster.

Generated from protobuf message google.cloud.gkemulticloud.v1.MonitoringConfig

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ managed_prometheus_config
ManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

↳ cloud_monitoring_config
CloudMonitoringConfig

Optionally enable GKE metrics. Only for Attached Clusters.

getManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Returns
Type
Description

hasManagedPrometheusConfig

clearManagedPrometheusConfig

setManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Parameter
Name
Description
Returns
Type
Description
$this

getCloudMonitoringConfig

Optionally enable GKE metrics.

Only for Attached Clusters.

Returns
Type
Description

hasCloudMonitoringConfig

clearCloudMonitoringConfig

setCloudMonitoringConfig

Optionally enable GKE metrics.

Only for Attached Clusters.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: