DefaultAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. DefaultAction
- com.
- com.
public final class DefaultAction
extends ExpandableStringEnum<DefaultAction>
The default action of allow or deny when no other rules match.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Default |
ALLOW
Static value Allow for Default |
static final
Default |
DENY
Static value Deny for Default |
Constructor Summary
Constructor | Description |
---|---|
DefaultAction() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Default |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Default |
fromString(String name)
Creates or finds a Default |
static
Collection<Default |
values()
Gets known Default |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final DefaultAction ALLOW
Static value Allow for DefaultAction.
DENY
public static final DefaultAction DENY
Static value Deny for DefaultAction.
Constructor Details
DefaultAction
@Deprecated
public DefaultAction()
Deprecated
Creates a new instance of DefaultAction value.
Method Details
fromString
public static DefaultAction fromString(String name)
Creates or finds a DefaultAction from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DefaultAction values.
Returns:
Applies to
Azure SDK for Java