public sealed class SetMonitoringServiceRequest : IMessage<SetMonitoringServiceRequest>, IEquatable<SetMonitoringServiceRequest>, IDeepCloneable<SetMonitoringServiceRequest>, IBufferMessage, IMessage
SetMonitoringServiceRequest sets the monitoring service of a cluster.
Implements
IMessage<SetMonitoringServiceRequest>, IEquatable<SetMonitoringServiceRequest>, IDeepCloneable<SetMonitoringServiceRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
SetMonitoringServiceRequest()
public SetMonitoringServiceRequest()
SetMonitoringServiceRequest(SetMonitoringServiceRequest)
public SetMonitoringServiceRequest(SetMonitoringServiceRequest other)
Parameter | |
---|---|
Name | Description |
other | SetMonitoringServiceRequest |
Properties
ClusterId
[Obsolete]
public string ClusterId { get; set; }
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
Property Value | |
---|---|
Type | Description |
String |
MonitoringService
public string MonitoringService { get; set; }
Required. The monitoring service the cluster should use to write metrics. Currently available options:
- "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15).none
- No metrics will be exported from the cluster.
If left as an empty string,monitoring.googleapis.com/kubernetes
will be
used for GKE 1.14+ or monitoring.googleapis.com
for earlier versions.
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
The name (project, location, cluster) of the cluster to set monitoring.
Specified in the format projects/*/locations/*/clusters/*
.
Property Value | |
---|---|
Type | Description |
String |
ProjectId
[Obsolete]
public string ProjectId { get; set; }
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
Property Value | |
---|---|
Type | Description |
String |
Zone
[Obsolete]
public string Zone { get; set; }
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
Property Value | |
---|---|
Type | Description |
String |