
com.pulumi.azurenative.impact.enums.MetricUnit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.impact.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* Unit of the metric ex: Bytes, Percentage, Count, Seconds, Milliseconds, Bytes/Second, Count/Second, etc.., Other
*
*/
@EnumType
public enum MetricUnit {
/**
* When measurement is in ByteSeconds
*
*/
ByteSeconds("ByteSeconds"),
/**
* When measurement is in Bytes
*
*/
Bytes("Bytes"),
/**
* When measurement is in BytesPerSecond
*
*/
BytesPerSecond("BytesPerSecond"),
/**
* When measurement is in Cores
*
*/
Cores("Cores"),
/**
* When measurement is in Count
*
*/
Count("Count"),
/**
* When measurement is in CountPerSecond
*
*/
CountPerSecond("CountPerSecond"),
/**
* When measurement is in MilliCores
*
*/
MilliCores("MilliCores"),
/**
* When measurement is in MilliSeconds
*
*/
MilliSeconds("MilliSeconds"),
/**
* When measurement is in NanoCores
*
*/
NanoCores("NanoCores"),
/**
* When measurement is in Percent
*
*/
Percent("Percent"),
/**
* When measurement is in Seconds
*
*/
Seconds("Seconds"),
/**
* When measurement is in Other than listed
*
*/
Other("Other");
private final String value;
MetricUnit(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public java.lang.String toString() {
return new StringJoiner(", ", "MetricUnit[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy