public enum AuthorizationLevel extends Enum<AuthorizationLevel>
Azure HTTP authorization level, Determines what keys, if any, need to be present on the request in order to invoke the function.
| Enum Constant and Description |
|---|
ADMIN
The master key is required.
|
ANONYMOUS
No API key is required.
|
FUNCTION
A function-specific API key is required.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationLevel ANONYMOUS
public static final AuthorizationLevel FUNCTION
public static final AuthorizationLevel ADMIN
public static AuthorizationLevel[] values()
for (AuthorizationLevel c : AuthorizationLevel.values()) System.out.println(c);
public static AuthorizationLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.