You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minLengthIsNull = "Parameter '#{name}' has minimum length constraint but is null"
5
+
notMinLength = "Parameter '#{name}' has minimum length constraint of #{min_length} but is #{length}"
6
+
minLengthNotStringOrArray = "Parameter '#{name}' has minimum length constraint but is not a string or array"
7
+
8
+
maxLengthIsNull = "Parameter '#{name}' has maximum length constraint but is null"
9
+
maxLengthExceeded = "Parameter '#{name}' has maximum length constraint of #{max_length} but is #{length}"
10
+
maxLengthNotStringOrArray = "Parameter '#{name}' has maximum length constraint but is not a string or array"
11
+
12
+
minValueIsNull = "Parameter '#{name}' has minimum value constraint but is null"
13
+
notMinValue = "Parameter '#{name}' has minimum value constraint of #{min_value} but is #{value}"
14
+
minValueNotInteger = "Parameter '#{name}' has minimum value constraint but is not an integer"
15
+
maxValueIsNull = "Parameter '#{name}' has maximum value constraint but is null"
16
+
notMaxValue = "Parameter '#{name}' has maximum value constraint of #{max_value} but is #{value}"
17
+
maxValueNotInteger = "Parameter '#{name}' has maximum value constraint but is not an integer"
18
+
19
+
allowedValuesIsNull = "Parameter '#{name}' has allowed values constraint but is null"
20
+
notAllowedValue = "Parameter '#{name}' has allowed values constraint but is not in the list of allowed values"
21
+
allowedValuesNotStringOrInteger = "Parameter '#{name}' has allowed values constraint but is not a string or integer"
22
+
23
+
[configure.dependsOn]
24
+
duplicateResource = "Resource named '#{name}' is specified more than once in the configuration"
25
+
syntaxIncorrect = "'dependsOn' syntax is incorrect: #{dependency}"
26
+
dependencyNotFound = "'dependsOn' resource name '#{dependency_name}' does not exist for resource named '#{resource_name}'"
27
+
dependencyTypeMismatch = "'dependsOn' resource type '#{resource_type}' does not match resource type '#{dependency_type}' for resource named '#{resource_name}'"
28
+
resourceNotInOrder = "Resource not found in order"
29
+
dependencyNotInOrder = "Dependency not found in order"
30
+
circularDependency = "Circular dependency detected for resource named '#{resource}'"
31
+
invocationOrder = "Resource invocation order"
32
+
33
+
[configure.mod]
34
+
escapePropertyValues = "Escape returned property values"
35
+
nestedArraysNotSupported = "Nested arrays not supported"
36
+
arrayElementCouldNotTransformAsString = "Array element could not be transformed as string"
37
+
valueCouldNotBeTransformedAsString = "Property value '#{value}' could not be transformed as string"
if dependency_resource.resource_type != resource_type {
50
-
returnErr(DscError::Validation(format!("'dependsOn' resource type '{resource_type}' does not match resource type '{0}' for resource named '{1}'",dependency_resource.resource_type,dependency_resource.name)));
// check if the order has resource before its dependencies
70
-
let resource_index = order.iter().position(|r| r.name == resource.name && r.resource_type == resource.resource_type).ok_or(DscError::Validation("Resource not found in order".to_string()))?;
let dependency_index = order.iter().position(|r| r.name == resource_name && r.resource_type == resource_type).ok_or(DscError::Validation("Dependency not found in order".to_string()))?;
0 commit comments