Documentation ¶
Index ¶
- func ApiManagementServiceName(v interface{}, k string) (ws []string, es []error)
- func ApiManagementServicePublisherEmail(v interface{}, k string) (ws []string, es []error)
- func ApiManagementServicePublisherName(v interface{}, k string) (ws []string, es []error)
- func Base64String() schema.SchemaValidateFunc
- func CognitiveServicesAccountName() schema.SchemaValidateFunc
- func DayOfTheWeek(ignoreCase bool) schema.SchemaValidateFunc
- func DevSpaceName() schema.SchemaValidateFunc
- func DevTestLabName() schema.SchemaValidateFunc
- func DevTestVirtualMachineName(maxLength int) schema.SchemaValidateFunc
- func DevTestVirtualNetworkUsagePermissionType() schema.SchemaValidateFunc
- func FloatAtLeast(min float64) schema.SchemaValidateFunc
- func IPv4Address(i interface{}, k string) (warnings []string, errors []error)
- func IPv4AddressOrEmpty(i interface{}, k string) (warnings []string, errors []error)
- func IPv6Address(i interface{}, k string) (warnings []string, errors []error)
- func IntBetweenAndDivisibleBy(min, max, divisor int) schema.SchemaValidateFunc
- func IntBetweenAndNot(min, max, not int) schema.SchemaValidateFunc
- func IntDivisibleBy(divisor int) schema.SchemaValidateFunc
- func IntInSlice(valid []int) schema.SchemaValidateFunc
- func IoTHubConsumerGroupName(v interface{}, k string) (ws []string, es []error)
- func IoTHubName(v interface{}, k string) (ws []string, es []error)
- func MACAddress(i interface{}, k string) (warnings []string, errors []error)
- func Month(ignoreCase bool) schema.SchemaValidateFunc
- func PortNumber(i interface{}, k string) (warnings []string, errors []error)
- func PortNumberOrZero(i interface{}, k string) (warnings []string, errors []error)
- func PublicIpDomainNameLabel(v interface{}, k string) (ws []string, errors []error)
- func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc
- func RFC3339Time(i interface{}, k string) (warnings []string, errors []error)
- func SharedImageGalleryName(v interface{}, k string) (ws []string, es []error)
- func SharedImageName(v interface{}, k string) (ws []string, es []error)
- func SharedImageVersionName(v interface{}, k string) (ws []string, es []error)
- func URLIsHTTPOrHTTPS(i interface{}, k string) (_ []string, errors []error)
- func URLIsHTTPS(i interface{}, k string) (_ []string, errors []error)
- func URLWithScheme(validSchemes []string) schema.SchemaValidateFunc
- func UUID(i interface{}, k string) (ws []string, errors []error)
- func VirtualNetworkRuleName(v interface{}, k string) (ws []string, errors []error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiManagementServiceName ¶ added in v1.17.0
func ApiManagementServicePublisherEmail ¶ added in v1.17.0
func ApiManagementServicePublisherName ¶ added in v1.17.0
func Base64String ¶ added in v1.18.0
func Base64String() schema.SchemaValidateFunc
func CognitiveServicesAccountName ¶ added in v1.17.0
func CognitiveServicesAccountName() schema.SchemaValidateFunc
func DayOfTheWeek ¶ added in v1.17.0
func DayOfTheWeek(ignoreCase bool) schema.SchemaValidateFunc
func DevSpaceName ¶ added in v1.18.0
func DevSpaceName() schema.SchemaValidateFunc
func DevTestLabName ¶ added in v1.17.0
func DevTestLabName() schema.SchemaValidateFunc
func DevTestVirtualMachineName ¶ added in v1.17.0
func DevTestVirtualMachineName(maxLength int) schema.SchemaValidateFunc
func DevTestVirtualNetworkUsagePermissionType ¶ added in v1.17.0
func DevTestVirtualNetworkUsagePermissionType() schema.SchemaValidateFunc
func FloatAtLeast ¶ added in v1.19.0
func FloatAtLeast(min float64) schema.SchemaValidateFunc
FloatAtLeast returns a SchemaValidateFunc which tests if the provided value is of type float64 and is at least min (inclusive)
func IPv4Address ¶ added in v1.9.0
func IPv4AddressOrEmpty ¶ added in v1.9.0
func IPv6Address ¶ added in v1.17.0
func IntBetweenAndDivisibleBy ¶ added in v1.19.0
func IntBetweenAndDivisibleBy(min, max, divisor int) schema.SchemaValidateFunc
IntBetweenAndDivisibleBy returns a SchemaValidateFunc which tests if the provided value is of type int and is between min and max (inclusive) and is divisible by a given number
func IntBetweenAndNot ¶ added in v1.9.0
func IntBetweenAndNot(min, max, not int) schema.SchemaValidateFunc
func IntDivisibleBy ¶ added in v1.19.0
func IntDivisibleBy(divisor int) schema.SchemaValidateFunc
IntDivisibleBy returns a SchemaValidateFunc which tests if the provided value is of type int and is divisible by a given number
func IntInSlice ¶ added in v1.19.0
func IntInSlice(valid []int) schema.SchemaValidateFunc
IntInSlice returns a SchemaValidateFunc which tests if the provided value is of type int and matches the value of an element in the valid slice
func IoTHubConsumerGroupName ¶ added in v1.19.0
func IoTHubName ¶ added in v1.19.0
func MACAddress ¶ added in v1.9.0
func Month ¶ added in v1.17.0
func Month(ignoreCase bool) schema.SchemaValidateFunc
func PortNumber ¶ added in v1.13.0
func PortNumberOrZero ¶ added in v1.16.0
func PublicIpDomainNameLabel ¶ added in v1.18.0
func RFC3339DateInFutureBy ¶ added in v1.9.0
func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc
RFC3339 date is duration d or greater into the future
func RFC3339Time ¶ added in v1.9.0
todo, now in terraform helper, switch over once vended -> https://github.com/hashicorp/terraform/blob/master/helper/validation/validation.go#L263
func SharedImageGalleryName ¶ added in v1.16.0
func SharedImageName ¶ added in v1.16.0
func SharedImageVersionName ¶ added in v1.16.0
func URLIsHTTPOrHTTPS ¶ added in v1.9.0
func URLIsHTTPS ¶ added in v1.16.0
func URLWithScheme ¶ added in v1.9.0
func URLWithScheme(validSchemes []string) schema.SchemaValidateFunc
func VirtualNetworkRuleName ¶ added in v1.14.0
Types ¶
This section is empty.