@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public enum SourceType extends Enum<SourceType> implements BmcEnum
Source Type of the resource. 1. SM_MGMT_AGENT_MONITORED - Management agent monitored stack monitoring discovered resources. 2. SM_REPO_ONLY - Repository only stack monitoring discovered resources. 3. OCI_NATIVE - OCI Native resources imported from OCI Monitoring Service. 4. PROMETHEUS - Prometheus resources imported from OCI Monitoring Service. 5. TELEGRAF - Telegraf based resources. 6. COLLECTD - Collectd based resources.
Enum Constant and Description |
---|
Collectd |
OciNative |
Prometheus |
SmMgmtAgentMonitored |
SmRepoOnly |
Telegraf |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static SourceType |
create(String key) |
String |
getValue() |
static SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType SmMgmtAgentMonitored
public static final SourceType SmRepoOnly
public static final SourceType OciNative
public static final SourceType Prometheus
public static final SourceType Telegraf
public static final SourceType Collectd
public static final SourceType UnknownEnumValue
public static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SourceType create(String key)
Copyright © 2016–2024. All rights reserved.