ComputeResourceType Class

public class ComputeResourceType
extends ExpandableStringEnum<ComputeResourceType>

Compute resource types.

Field Summary

Modifier and Type Field and Description
static final ComputeResourceType AVAILABILITYSETS

Static value availabilitySets for ComputeResourceType.

static final ComputeResourceType DISKS

Static value disks for ComputeResourceType.

static final ComputeResourceType SNAPSHOTS

Static value snapshots for ComputeResourceType.

static final ComputeResourceType VIRTUALMACHINES

Static value virtualMachines for ComputeResourceType.

Constructor Summary

Constructor Description
ComputeResourceType()

Method Summary

Modifier and Type Method and Description
static ComputeResourceType fromString(String str)

Finds or creates compute resource type based on the specified string.

static Collection<ComputeResourceType> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVAILABILITYSETS

public static final ComputeResourceType AVAILABILITYSETS

Static value availabilitySets for ComputeResourceType.

DISKS

public static final ComputeResourceType DISKS

Static value disks for ComputeResourceType.

SNAPSHOTS

public static final ComputeResourceType SNAPSHOTS

Static value snapshots for ComputeResourceType.

VIRTUALMACHINES

public static final ComputeResourceType VIRTUALMACHINES

Static value virtualMachines for ComputeResourceType.

Constructor Details

ComputeResourceType

public ComputeResourceType()

Method Details

fromString

public static ComputeResourceType fromString(String str)

Finds or creates compute resource type based on the specified string.

Parameters:

str - the compute resource type in string format

Returns:

an instance of ComputeResourceType

values

public static Collection values()

Returns:

known compute resource types

Applies to