Documentation ¶
Index ¶
- Variables
- func ApiManagementApiName(v interface{}, k string) (ws []string, es []error)
- func ApiManagementApiPath(v interface{}, k string) (ws []string, es []error)
- func ApiManagementBackendName(v interface{}, k string) (warnings []string, errors []error)
- func ApiManagementChildName(v interface{}, k string) (warnings []string, errors []error)
- func ApiManagementServiceName(v interface{}, k string) (warnings []string, errors []error)
- func ApiManagementServicePublisherEmail(v interface{}, k string) (warnings []string, errors []error)
- func ApiManagementServicePublisherName(v interface{}, k string) (warnings []string, errors []error)
- func ApiManagementUserName(v interface{}, k string) (warnings []string, errors []error)
- func Base64String() schema.SchemaValidateFunc
- func CIDR(i interface{}, k string) (warnings []string, errors []error)
- func CognitiveServicesAccountName() schema.SchemaValidateFunc
- func CosmosAccountName(v interface{}, k string) (warnings []string, errors []error)
- func CosmosEntityName(v interface{}, k string) (warnings []string, errors []error)
- func CosmosThroughput(v interface{}, k string) (warnings []string, errors []error)
- func DataFactoryName() schema.SchemaValidateFunc
- func DataFactoryPipelineAndTriggerName() 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 GUID(i interface{}, k string) (warnings []string, errors []error)
- func GoogleClientID(v interface{}, k string) (warnings []string, errors []error)
- func HDInsightClusterVersion(i interface{}, k string) (warnings []string, errors []error)
- func HDInsightName(v interface{}, k string) (warnings []string, errors []error)
- 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 ISO8601DateTime(i interface{}, k string) (warnings []string, errors []error)
- func ISO8601Duration(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 IntBetweenAndNotInRange(min, max, rangeMin, rangeMax int) schema.SchemaValidateFunc
- func IntDivisibleBy(divisor int) schema.SchemaValidateFunc
- func IntInSlice(valid []int) schema.SchemaValidateFunc
- func IoTHubConsumerGroupName(v interface{}, k string) (warnings []string, errors []error)
- func IoTHubEndpointName(v interface{}, _ string) (warnings []string, errors []error)
- func IoTHubName(v interface{}, k string) (warnings []string, errors []error)
- func KubernetesAdminUserName(i interface{}, k string) (warnings []string, errors []error)
- func KubernetesAgentPoolName(i interface{}, k string) (warnings []string, errors []error)
- func KubernetesDNSPrefix(i interface{}, k string) (warnings []string, errors []error)
- func LowerCasedString(i interface{}, k string) ([]string, []error)
- func MACAddress(i interface{}, k string) (warnings []string, errors []error)
- func MariaDBFirewallRuleName(v interface{}, _ string) (warnings []string, errors []error)
- func MariaDBServerName(v interface{}, _ string) (warnings []string, errors []error)
- func MariaDatabaseCollation(i interface{}, k string) (warnings []string, errors []error)
- func Month(ignoreCase bool) schema.SchemaValidateFunc
- func NoEmptyStrings(i interface{}, k string) ([]string, []error)
- func PortNumber(i interface{}, k string) (warnings []string, errors []error)
- func PortNumberOrZero(i interface{}, k string) (warnings []string, errors []error)
- func PostgresDatabaseCollation(i interface{}, k string) (warnings []string, errors []error)
- func PublicIpDomainNameLabel(v interface{}, k string) (warnings []string, errors []error)
- func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc
- func RFC3339Time(i interface{}, k string) (warnings []string, errors []error)
- func RegExHelper(i interface{}, k, r string) (match bool, errors []error)
- func SharedAccessSignatureIP(v interface{}, k string) (warnings []string, errors []error)
- func SharedImageGalleryName(v interface{}, k string) (warnings []string, errors []error)
- func SharedImageName(v interface{}, k string) (warnings []string, errors []error)
- func SharedImageVersionName(v interface{}, k string) (warnings []string, errors []error)
- func StorageContainerName(v interface{}, k string) (warnings []string, errors []error)
- func StorageShareDirectoryName(v interface{}, k string) (warnings []string, errors []error)
- func StreamAnalyticsJobStreamingUnits(i interface{}, k string) (w []string, es []error)
- func URLIsHTTPOrHTTPS(i interface{}, k string) (_ []string, errors []error)
- func URLIsHTTPS(i interface{}, k string) (_ []string, errors []error)
- func UUID(i interface{}, k string) (warnings []string, errors []error)
- func UUIDOrEmpty(i interface{}, k string) (warnings []string, errors []error)
- func ValidateBotMSTeamsCallingWebHook() schema.SchemaValidateFunc
- func VirtualMachineTimeZone() schema.SchemaValidateFunc
- func VirtualMachineTimeZoneCaseInsensitive() schema.SchemaValidateFunc
- func VirtualNetworkRuleName(v interface{}, k string) (warnings []string, errors []error)
Constants ¶
This section is empty.
Variables ¶
var UUIDRegExp = regexp.MustCompile("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$")
uuid regex helper
Functions ¶
func ApiManagementApiName ¶ added in v1.24.0
func ApiManagementApiPath ¶ added in v1.24.0
func ApiManagementBackendName ¶ added in v1.32.0
func ApiManagementChildName ¶ added in v1.23.0
func ApiManagementServiceName ¶ added in v1.17.0
func ApiManagementServicePublisherEmail ¶ added in v1.17.0
func ApiManagementServicePublisherName ¶ added in v1.17.0
func ApiManagementUserName ¶ added in v1.23.0
func Base64String ¶ added in v1.18.0
func Base64String() schema.SchemaValidateFunc
deprecated: please use validation.StringIsBase64 instead
func CognitiveServicesAccountName ¶ added in v1.17.0
func CognitiveServicesAccountName() schema.SchemaValidateFunc
func CosmosAccountName ¶ added in v1.28.0
func CosmosEntityName ¶ added in v1.28.0
func CosmosThroughput ¶ added in v1.36.0
func DataFactoryName ¶ added in v1.37.0
func DataFactoryName() schema.SchemaValidateFunc
func DataFactoryPipelineAndTriggerName ¶ added in v1.37.0
func DataFactoryPipelineAndTriggerName() schema.SchemaValidateFunc
func DayOfTheWeek ¶ added in v1.17.0
func DayOfTheWeek(ignoreCase bool) schema.SchemaValidateFunc
deprecated use validation.IsDayOfTheWeek instead
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
deprecated: please use validation.FloatAtLeast instead
func GoogleClientID ¶ added in v1.40.0
func HDInsightClusterVersion ¶ added in v1.25.0
func HDInsightName ¶ added in v1.25.0
func IPv4Address ¶ added in v1.9.0
func IPv4AddressOrEmpty ¶ added in v1.9.0
func IPv6Address ¶ added in v1.17.0
func ISO8601DateTime ¶ added in v1.34.0
func ISO8601Duration ¶ added in v1.33.0
func IntBetweenAndDivisibleBy ¶ added in v1.19.0
func IntBetweenAndDivisibleBy(min, max, divisor int) schema.SchemaValidateFunc
deprecated: use validation.All(validation.IntBetween, validation.IntDivisibleBy)
func IntBetweenAndNot ¶ added in v1.9.0
func IntBetweenAndNot(min, max, not int) schema.SchemaValidateFunc
deprecated: use validation.All(validation.IntBetween, validation.IntNotInSlice)
func IntBetweenAndNotInRange ¶ added in v1.42.0
func IntBetweenAndNotInRange(min, max, rangeMin, rangeMax int) schema.SchemaValidateFunc
func IntDivisibleBy ¶ added in v1.19.0
func IntDivisibleBy(divisor int) schema.SchemaValidateFunc
deprecated: use validation.IntDivisibleBy
func IntInSlice ¶ added in v1.19.0
func IntInSlice(valid []int) schema.SchemaValidateFunc
deprecated: use validation.IntInSlice
func IoTHubConsumerGroupName ¶ added in v1.19.0
func IoTHubEndpointName ¶ added in v1.37.0
func IoTHubName ¶ added in v1.19.0
func KubernetesAdminUserName ¶ added in v1.22.0
func KubernetesAgentPoolName ¶ added in v1.22.0
func KubernetesDNSPrefix ¶ added in v1.22.0
func LowerCasedString ¶ added in v1.37.0
LowerCasedString validates that the string is lower-cased
func MACAddress ¶ added in v1.9.0
func MariaDBFirewallRuleName ¶ added in v1.31.0
func MariaDBServerName ¶ added in v1.31.0
func MariaDatabaseCollation ¶ added in v1.37.0
func Month ¶ added in v1.17.0
func Month(ignoreCase bool) schema.SchemaValidateFunc
deprecated use validation.IsMonth instead
func NoEmptyStrings ¶ added in v1.20.0
deprecated use validation.StringIsNotEmpty instead
func PortNumber ¶ added in v1.13.0
func PortNumberOrZero ¶ added in v1.16.0
func PostgresDatabaseCollation ¶ added in v1.37.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
deprecated use validation.IsRFC3339Time instead
func RegExHelper ¶ added in v1.20.0
func SharedAccessSignatureIP ¶ added in v1.34.0
func SharedImageGalleryName ¶ added in v1.16.0
func SharedImageName ¶ added in v1.16.0
func SharedImageVersionName ¶ added in v1.16.0
func StorageContainerName ¶ added in v1.37.0
func StorageShareDirectoryName ¶ added in v1.32.0
func StreamAnalyticsJobStreamingUnits ¶ added in v1.25.0
func URLIsHTTPOrHTTPS ¶ added in v1.9.0
todo ad to sdk deprecated use validation.IsURLWithScheme instead
func URLIsHTTPS ¶ added in v1.16.0
deprecated use validation.IsURLWithHTTPS instead
func UUIDOrEmpty ¶ added in v1.21.0
deprecated use validation.Any(validation.IsUUID, validation.StringIsEmpty) instead
func ValidateBotMSTeamsCallingWebHook ¶ added in v1.39.0
func ValidateBotMSTeamsCallingWebHook() schema.SchemaValidateFunc
func VirtualMachineTimeZone ¶ added in v1.33.0
func VirtualMachineTimeZone() schema.SchemaValidateFunc
VirtualMachineTimeZone returns a case-sensitive validation function for the Time Zones for a Virtual Machine
func VirtualMachineTimeZoneCaseInsensitive ¶ added in v1.36.0
func VirtualMachineTimeZoneCaseInsensitive() schema.SchemaValidateFunc
VirtualMachineTimeZone returns a case-insensitive validation function for the Time Zones for a Virtual Machine
func VirtualNetworkRuleName ¶ added in v1.14.0
Types ¶
This section is empty.
Source Files ¶
- api_management.go
- base64.go
- bot.go
- cognitiveservices.go
- compute.go
- cosmos.go
- database.go
- datafactory.go
- devspace.go
- devtest.go
- float.go
- google.go
- hdinsight.go
- int.go
- iothub.go
- kubernetes.go
- mariadb.go
- network.go
- public_ip.go
- regex.go
- shared_access_signature.go
- storage.go
- storage_container.go
- stream_analytics.go
- strings.go
- time.go
- url.go
- uuid.go
- virtual_network_rule_name.go