GpuInstanceProfile Class

public final class GpuInstanceProfile
extends ExpandableStringEnum<GpuInstanceProfile>

GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.

Field Summary

Modifier and Type Field and Description
static final GpuInstanceProfile MIG1G

Static value MIG1g for GpuInstanceProfile.

static final GpuInstanceProfile MIG2G

Static value MIG2g for GpuInstanceProfile.

static final GpuInstanceProfile MIG3G

Static value MIG3g for GpuInstanceProfile.

static final GpuInstanceProfile MIG4G

Static value MIG4g for GpuInstanceProfile.

static final GpuInstanceProfile MIG7G

Static value MIG7g for GpuInstanceProfile.

Constructor Summary

Constructor Description
GpuInstanceProfile()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GpuInstanceProfile value.

Method Summary

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

Creates or finds a GpuInstanceProfile from its string representation.

static Collection<GpuInstanceProfile> values()

Gets known GpuInstanceProfile values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MIG1G

public static final GpuInstanceProfile MIG1G

Static value MIG1g for GpuInstanceProfile.

MIG2G

public static final GpuInstanceProfile MIG2G

Static value MIG2g for GpuInstanceProfile.

MIG3G

public static final GpuInstanceProfile MIG3G

Static value MIG3g for GpuInstanceProfile.

MIG4G

public static final GpuInstanceProfile MIG4G

Static value MIG4g for GpuInstanceProfile.

MIG7G

public static final GpuInstanceProfile MIG7G

Static value MIG7g for GpuInstanceProfile.

Constructor Details

GpuInstanceProfile

@Deprecated
public GpuInstanceProfile()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GpuInstanceProfile value.

Method Details

fromString

public static GpuInstanceProfile fromString(String name)

Creates or finds a GpuInstanceProfile from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GpuInstanceProfile.

values

public static Collection values()

Gets known GpuInstanceProfile values.

Returns:

known GpuInstanceProfile values.

Applies to