HostpoolPublicNetworkAccess Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. desktopvirtualization. models. HostpoolPublicNetworkAccess
- com.
- com.
public final class HostpoolPublicNetworkAccess
extends ExpandableStringEnum<HostpoolPublicNetworkAccess>
Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Hostpool |
DISABLED
Static value Disabled for Hostpool |
|
static final
Hostpool |
ENABLED
Static value Enabled for Hostpool |
|
static final
Hostpool |
ENABLED_FOR_CLIENTS_ONLY
Static value Enabled |
|
static final
Hostpool |
ENABLED_FOR_SESSION_HOSTS_ONLY
Static value Enabled |
Constructor Summary
| Constructor | Description |
|---|---|
| HostpoolPublicNetworkAccess() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Hostpool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Hostpool |
fromString(String name)
Creates or finds a Hostpool |
|
static
Collection<Hostpool |
values()
Gets known Hostpool |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final HostpoolPublicNetworkAccess DISABLED
Static value Disabled for HostpoolPublicNetworkAccess.
ENABLED
public static final HostpoolPublicNetworkAccess ENABLED
Static value Enabled for HostpoolPublicNetworkAccess.
ENABLED_FOR_CLIENTS_ONLY
public static final HostpoolPublicNetworkAccess ENABLED_FOR_CLIENTS_ONLY
Static value EnabledForClientsOnly for HostpoolPublicNetworkAccess.
ENABLED_FOR_SESSION_HOSTS_ONLY
public static final HostpoolPublicNetworkAccess ENABLED_FOR_SESSION_HOSTS_ONLY
Static value EnabledForSessionHostsOnly for HostpoolPublicNetworkAccess.
Constructor Details
HostpoolPublicNetworkAccess
@Deprecated
public HostpoolPublicNetworkAccess()
Deprecated
Creates a new instance of HostpoolPublicNetworkAccess value.
Method Details
fromString
public static HostpoolPublicNetworkAccess fromString(String name)
Creates or finds a HostpoolPublicNetworkAccess from its string representation.
Parameters:
Returns:
values
public static Collection<HostpoolPublicNetworkAccess> values()
Gets known HostpoolPublicNetworkAccess values.
Returns: