ManagedClusterMetricsProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterMetricsProfile
- com.
Implements
public final class ManagedClusterMetricsProfile
implements JsonSerializable<ManagedClusterMetricsProfile>
The metrics profile for the ManagedCluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterMetricsProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Managed |
costAnalysis()
Get the cost |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withCostAnalysis(ManagedClusterCostAnalysis costAnalysis)
Set the cost |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterMetricsProfile
public ManagedClusterMetricsProfile()
Creates an instance of ManagedClusterMetricsProfile class.
Method Details
costAnalysis
public ManagedClusterCostAnalysis costAnalysis()
Get the costAnalysis property: The cost analysis configuration for the cluster.
Returns:
fromJson
public static ManagedClusterMetricsProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterMetricsProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withCostAnalysis
public ManagedClusterMetricsProfile withCostAnalysis(ManagedClusterCostAnalysis costAnalysis)
Set the costAnalysis property: The cost analysis configuration for the cluster.
Parameters:
Returns:
Applies to
Azure SDK for Java