ResourceIdentifierType Class

public final class ResourceIdentifierType
extends ExpandableStringEnum<ResourceIdentifierType>

There can be multiple identifiers of different type per alert, this field specify the identifier type.

Field Summary

Modifier and Type Field and Description
static final ResourceIdentifierType AZURE_RESOURCE

Static value AzureResource for ResourceIdentifierType.

static final ResourceIdentifierType LOG_ANALYTICS

Static value LogAnalytics for ResourceIdentifierType.

Constructor Summary

Constructor Description
ResourceIdentifierType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceIdentifierType value.

Method Summary

Modifier and Type Method and Description
static ResourceIdentifierType fromString(String name)

Creates or finds a ResourceIdentifierType from its string representation.

static Collection<ResourceIdentifierType> values()

Gets known ResourceIdentifierType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_RESOURCE

public static final ResourceIdentifierType AZURE_RESOURCE

Static value AzureResource for ResourceIdentifierType.

LOG_ANALYTICS

public static final ResourceIdentifierType LOG_ANALYTICS

Static value LogAnalytics for ResourceIdentifierType.

Constructor Details

ResourceIdentifierType

@Deprecated
public ResourceIdentifierType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceIdentifierType value.

Method Details

fromString

public static ResourceIdentifierType fromString(String name)

Creates or finds a ResourceIdentifierType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceIdentifierType.

values

public static Collection values()

Gets known ResourceIdentifierType values.

Returns:

known ResourceIdentifierType values.

Applies to