HostCachingOptions Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. devtestlabs. models. HostCachingOptions
- com.
- com.
public final class HostCachingOptions
extends ExpandableStringEnum<HostCachingOptions>
Caching option for a data disk (i.e. None, ReadOnly, ReadWrite).
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Host |
NONE
Static value None for Host |
static final
Host |
READ_ONLY
Static value Read |
static final
Host |
READ_WRITE
Static value Read |
Constructor Summary
Constructor | Description |
---|---|
HostCachingOptions() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Host |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Host |
fromString(String name)
Creates or finds a Host |
static
Collection<Host |
values()
Gets known Host |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final HostCachingOptions NONE
Static value None for HostCachingOptions.
READ_ONLY
public static final HostCachingOptions READ_ONLY
Static value ReadOnly for HostCachingOptions.
READ_WRITE
public static final HostCachingOptions READ_WRITE
Static value ReadWrite for HostCachingOptions.
Constructor Details
HostCachingOptions
@Deprecated
public HostCachingOptions()
Deprecated
Creates a new instance of HostCachingOptions value.
Method Details
fromString
public static HostCachingOptions fromString(String name)
Creates or finds a HostCachingOptions from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known HostCachingOptions values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for