PublicNetworkAccess Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. PublicNetworkAccess
- com.
- com.
public final class PublicNetworkAccess
extends ExpandableStringEnum<PublicNetworkAccess>
Policy for controlling export on the disk.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Public |
DISABLED
You cannot access the underlying data of the disk publicly on the internet even when Network |
|
static final
Public |
ENABLED
You can generate a SAS URI to access the underlying data of the disk publicly on the internet when Network |
Constructor Summary
| Constructor | Description |
|---|---|
| PublicNetworkAccess() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Public |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Public |
fromString(String name)
Creates or finds a Public |
|
static
Collection<Public |
values()
Gets known Public |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final PublicNetworkAccess DISABLED
You cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
ENABLED
public static final PublicNetworkAccess ENABLED
You can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
Constructor Details
PublicNetworkAccess
@Deprecated
public PublicNetworkAccess()
Deprecated
Creates a new instance of PublicNetworkAccess value.
Method Details
fromString
public static PublicNetworkAccess fromString(String name)
Creates or finds a PublicNetworkAccess from its string representation.
Parameters:
Returns:
values
public static Collection<PublicNetworkAccess> values()
Gets known PublicNetworkAccess values.
Returns: