ValidationLevel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. resources. deployments. models. ValidationLevel
- com.
- com.
public final class ValidationLevel
extends ExpandableStringEnum<ValidationLevel>
The level of validation performed on the deployment.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Validation |
PROVIDER
Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. |
|
static final
Validation |
PROVIDER_NO_RBAC
Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. |
|
static final
Validation |
TEMPLATE
Static analysis of the template is performed. |
Constructor Summary
| Constructor | Description |
|---|---|
| ValidationLevel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Validation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Validation |
fromString(String name)
Creates or finds a Validation |
|
static
Collection<Validation |
values()
Gets known Validation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PROVIDER
public static final ValidationLevel PROVIDER
Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Validates that the caller has RBAC write permissions on each resource.
PROVIDER_NO_RBAC
public static final ValidationLevel PROVIDER_NO_RBAC
Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Skips validating that the caller has RBAC write permissions on each resource.
TEMPLATE
public static final ValidationLevel TEMPLATE
Static analysis of the template is performed.
Constructor Details
ValidationLevel
@Deprecated
public ValidationLevel()
Deprecated
Creates a new instance of ValidationLevel value.
Method Details
fromString
public static ValidationLevel fromString(String name)
Creates or finds a ValidationLevel from its string representation.
Parameters:
Returns:
values
public static Collection<ValidationLevel> values()
Gets known ValidationLevel values.
Returns: