NetworkRuleBypassOptions Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. NetworkRuleBypassOptions
- com.
- com.
public final class NetworkRuleBypassOptions
extends ExpandableStringEnum<NetworkRuleBypassOptions>
Whether to allow trusted Azure services to access a network restricted registry.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Network |
AZURE_SERVICES
Static value Azure |
static final
Network |
NONE
Static value None for Network |
Constructor Summary
Constructor | Description |
---|---|
NetworkRuleBypassOptions() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromString(String name)
Creates or finds a Network |
static
Collection<Network |
values()
Gets known Network |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AZURE_SERVICES
public static final NetworkRuleBypassOptions AZURE_SERVICES
Static value AzureServices for NetworkRuleBypassOptions.
NONE
public static final NetworkRuleBypassOptions NONE
Static value None for NetworkRuleBypassOptions.
Constructor Details
NetworkRuleBypassOptions
@Deprecated
public NetworkRuleBypassOptions()
Deprecated
Creates a new instance of NetworkRuleBypassOptions value.
Method Details
fromString
public static NetworkRuleBypassOptions fromString(String name)
Creates or finds a NetworkRuleBypassOptions from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known NetworkRuleBypassOptions values.
Returns:
Applies to
Azure SDK for Java