你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

MIG 1g GPU instance profile.

static final GpuInstanceProfile MIG2G

MIG 2g GPU instance profile.

static final GpuInstanceProfile MIG3G

MIG 3g GPU instance profile.

static final GpuInstanceProfile MIG4G

MIG 4g GPU instance profile.

static final GpuInstanceProfile MIG7G

MIG 7g GPU instance profile.

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

MIG 1g GPU instance profile.

MIG2G

public static final GpuInstanceProfile MIG2G

MIG 2g GPU instance profile.

MIG3G

public static final GpuInstanceProfile MIG3G

MIG 3g GPU instance profile.

MIG4G

public static final GpuInstanceProfile MIG4G

MIG 4g GPU instance profile.

MIG7G

public static final GpuInstanceProfile MIG7G

MIG 7g GPU instance profile.

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<GpuInstanceProfile> values()

Gets known GpuInstanceProfile values.

Returns:

known GpuInstanceProfile values.

Applies to