通过


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

SharedGalleryHostCaching Class

public final class SharedGalleryHostCaching
extends ExpandableStringEnum<SharedGalleryHostCaching>

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'.

Field Summary

Modifier and Type Field and Description
static final SharedGalleryHostCaching NONE

Static value None for SharedGalleryHostCaching.

static final SharedGalleryHostCaching READ_ONLY

Static value ReadOnly for SharedGalleryHostCaching.

static final SharedGalleryHostCaching READ_WRITE

Static value ReadWrite for SharedGalleryHostCaching.

Constructor Summary

Constructor Description
SharedGalleryHostCaching()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SharedGalleryHostCaching value.

Method Summary

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

Creates or finds a SharedGalleryHostCaching from its string representation.

static Collection<SharedGalleryHostCaching> values()

Gets known SharedGalleryHostCaching values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final SharedGalleryHostCaching NONE

Static value None for SharedGalleryHostCaching.

READ_ONLY

public static final SharedGalleryHostCaching READ_ONLY

Static value ReadOnly for SharedGalleryHostCaching.

READ_WRITE

public static final SharedGalleryHostCaching READ_WRITE

Static value ReadWrite for SharedGalleryHostCaching.

Constructor Details

SharedGalleryHostCaching

@Deprecated
public SharedGalleryHostCaching()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SharedGalleryHostCaching value.

Method Details

fromString

public static SharedGalleryHostCaching fromString(String name)

Creates or finds a SharedGalleryHostCaching from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SharedGalleryHostCaching.

values

public static Collection<SharedGalleryHostCaching> values()

Gets known SharedGalleryHostCaching values.

Returns:

known SharedGalleryHostCaching values.

Applies to