Share via


ResourceType Class

public final class ResourceType
extends ExpandableStringEnum<ResourceType>

Defines values for ResourceType.

Field Summary

Modifier and Type Field and Description
static final ResourceType MONGO_TO_COSMOS_DB_MONGO

Static value MongoToCosmosDbMongo for ResourceType.

static final ResourceType SQL_DB

Static value SqlDb for ResourceType.

static final ResourceType SQL_MI

Static value SqlMi for ResourceType.

static final ResourceType SQL_VM

Static value SqlVm for ResourceType.

Constructor Summary

Constructor Description
ResourceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceType value.

Method Summary

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

Creates or finds a ResourceType from its string representation.

static Collection<ResourceType> values()

Gets known ResourceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MONGO_TO_COSMOS_DB_MONGO

public static final ResourceType MONGO_TO_COSMOS_DB_MONGO

Static value MongoToCosmosDbMongo for ResourceType.

SQL_DB

public static final ResourceType SQL_DB

Static value SqlDb for ResourceType.

SQL_MI

public static final ResourceType SQL_MI

Static value SqlMi for ResourceType.

SQL_VM

public static final ResourceType SQL_VM

Static value SqlVm for ResourceType.

Constructor Details

ResourceType

@Deprecated
public ResourceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceType value.

Method Details

fromString

public static ResourceType fromString(String name)

Creates or finds a ResourceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceType.

values

public static Collection<ResourceType> values()

Gets known ResourceType values.

Returns:

known ResourceType values.

Applies to