ValidationLevel Class

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 ValidationLevel PROVIDER

Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation.

static final ValidationLevel PROVIDER_NO_RBAC

Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation.

static final ValidationLevel 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 ValidationLevel value.

Method Summary

Modifier and Type Method and Description
static ValidationLevel fromString(String name)

Creates or finds a ValidationLevel from its string representation.

static Collection<ValidationLevel> values()

Gets known ValidationLevel values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ValidationLevel.

values

public static Collection<ValidationLevel> values()

Gets known ValidationLevel values.

Returns:

known ValidationLevel values.

Applies to