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 AzureTimeZoneString() schema.SchemaValidateFunc
- func BotMSTeamsCallingWebHook() 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 CosmosMaxThroughput(i 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 DevSpaceName() schema.SchemaValidateFunc
- func DevTestLabName() schema.SchemaValidateFunc
- func DevTestVirtualMachineName(maxLength int) schema.SchemaValidateFunc
- func DevTestVirtualNetworkUsagePermissionType() schema.SchemaValidateFunc
- func EndpointDeliveryRuleName() schema.SchemaValidateFunc
- func FloatInSlice(valid []float64) schema.SchemaValidateFunc
- 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 ISO8601DateTime(i interface{}, k string) (warnings []string, errors []error)
- func ISO8601Duration(i interface{}, k string) (warnings []string, errors []error)
- func ISO8601DurationBetween(min string, max string) func(i 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 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) (warnings []string, errors []error)
- func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc
- func RegExHelper(i interface{}, k, r string) (match bool, errors []error)
- func RuleActionCacheExpirationDuration() schema.SchemaValidateFunc
- func RuleActionUrlRedirectFragment() schema.SchemaValidateFunc
- func RuleActionUrlRedirectPath() schema.SchemaValidateFunc
- func RuleActionUrlRedirectQueryString() schema.SchemaValidateFunc
- func RuleActionUrlRewriteDestination() schema.SchemaValidateFunc
- func RuleActionUrlRewriteSourcePattern() schema.SchemaValidateFunc
- func ServiceBusMaxSizeInMegabytes() schema.SchemaValidateFunc
- 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 VirtualMachineTimeZone() schema.SchemaValidateFunc
- func VirtualMachineTimeZoneCaseInsensitive() schema.SchemaValidateFunc
- func VirtualNetworkRuleName(v interface{}, k string) (warnings []string, errors []error)
Constants ¶
This section is empty.
Variables ¶
View Source
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
View Source
var ValidateWebApplicationFirewallPolicyRuleGroupName = validation.StringInSlice([]string{ "crs_20_protocol_violations", "crs_21_protocol_anomalies", "crs_23_request_limits", "crs_30_http_policy", "crs_35_bad_robots", "crs_40_generic_attacks", "crs_41_sql_injection_attacks", "crs_41_xss_attacks", "crs_42_tight_security", "crs_45_trojans", "General", "REQUEST-911-METHOD-ENFORCEMENT", "REQUEST-913-SCANNER-DETECTION", "REQUEST-920-PROTOCOL-ENFORCEMENT", "REQUEST-921-PROTOCOL-ATTACK", "REQUEST-930-APPLICATION-ATTACK-LFI", "REQUEST-931-APPLICATION-ATTACK-RFI", "REQUEST-932-APPLICATION-ATTACK-RCE", "REQUEST-933-APPLICATION-ATTACK-PHP", "REQUEST-941-APPLICATION-ATTACK-XSS", "REQUEST-942-APPLICATION-ATTACK-SQLI", "REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION", }, false)
View Source
var ValidateWebApplicationFirewallPolicyRuleSetType = validation.StringInSlice([]string{ "OWASP", "Microsoft_BotManagerRuleSet", }, false)
View Source
var ValidateWebApplicationFirewallPolicyRuleSetVersion = validation.StringInSlice([]string{ "0.1", "1.0", "2.2.9", "3.0", "3.1", }, false)
Functions ¶
func ApiManagementApiName ¶
func ApiManagementApiPath ¶
func ApiManagementChildName ¶
func ApiManagementUserName ¶
func AzureTimeZoneString ¶
func AzureTimeZoneString() schema.SchemaValidateFunc
func BotMSTeamsCallingWebHook ¶
func BotMSTeamsCallingWebHook() schema.SchemaValidateFunc
func CognitiveServicesAccountName ¶
func CognitiveServicesAccountName() schema.SchemaValidateFunc
func CosmosAccountName ¶
func CosmosEntityName ¶
func CosmosMaxThroughput ¶
func CosmosThroughput ¶
func DataFactoryName ¶
func DataFactoryName() schema.SchemaValidateFunc
func DataFactoryPipelineAndTriggerName ¶
func DataFactoryPipelineAndTriggerName() schema.SchemaValidateFunc
func DevSpaceName ¶
func DevSpaceName() schema.SchemaValidateFunc
func DevTestLabName ¶
func DevTestLabName() schema.SchemaValidateFunc
func DevTestVirtualMachineName ¶
func DevTestVirtualMachineName(maxLength int) schema.SchemaValidateFunc
func DevTestVirtualNetworkUsagePermissionType ¶
func DevTestVirtualNetworkUsagePermissionType() schema.SchemaValidateFunc
func EndpointDeliveryRuleName ¶
func EndpointDeliveryRuleName() schema.SchemaValidateFunc
func FloatInSlice ¶
func FloatInSlice(valid []float64) schema.SchemaValidateFunc
FloatInSlice returns a SchemaValidateFunc which tests if the provided value is of type float64 and matches the value of an element in the valid slice
func GoogleClientID ¶
func HDInsightClusterVersion ¶
func HDInsightName ¶
func IPv4Address ¶
func IPv4AddressOrEmpty ¶
func ISO8601DateTime ¶
func ISO8601Duration ¶
func ISO8601DurationBetween ¶
func KubernetesAdminUserName ¶
func KubernetesAgentPoolName ¶
func KubernetesDNSPrefix ¶
func LowerCasedString ¶
LowerCasedString validates that the string is lower-cased
func PortNumber ¶
func PortNumberOrZero ¶
func PublicIpDomainNameLabel ¶
func RFC3339DateInFutureBy ¶
func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc
RFC3339 date is duration d or greater into the future
func RegExHelper ¶
func RuleActionCacheExpirationDuration ¶
func RuleActionCacheExpirationDuration() schema.SchemaValidateFunc
func RuleActionUrlRedirectFragment ¶
func RuleActionUrlRedirectFragment() schema.SchemaValidateFunc
func RuleActionUrlRedirectPath ¶
func RuleActionUrlRedirectPath() schema.SchemaValidateFunc
func RuleActionUrlRedirectQueryString ¶
func RuleActionUrlRedirectQueryString() schema.SchemaValidateFunc
func RuleActionUrlRewriteDestination ¶
func RuleActionUrlRewriteDestination() schema.SchemaValidateFunc
func RuleActionUrlRewriteSourcePattern ¶
func RuleActionUrlRewriteSourcePattern() schema.SchemaValidateFunc
func ServiceBusMaxSizeInMegabytes ¶
func ServiceBusMaxSizeInMegabytes() schema.SchemaValidateFunc
func SharedAccessSignatureIP ¶
func SharedImageGalleryName ¶
func SharedImageName ¶
func SharedImageVersionName ¶
func StorageContainerName ¶
func VirtualMachineTimeZone ¶
func VirtualMachineTimeZone() schema.SchemaValidateFunc
VirtualMachineTimeZone returns a case-sensitive validation function for the Time Zones for a Virtual Machine
func VirtualMachineTimeZoneCaseInsensitive ¶
func VirtualMachineTimeZoneCaseInsensitive() schema.SchemaValidateFunc
VirtualMachineTimeZone returns a case-insensitive validation function for the Time Zones for a Virtual Machine
func VirtualNetworkRuleName ¶
Types ¶
This section is empty.
Source Files
¶
- api_management.go
- bot.go
- cdn.go
- cognitiveservices.go
- compute.go
- cosmos.go
- datafactory.go
- devspace.go
- devtest.go
- float.go
- google.go
- hdinsight.go
- kubernetes.go
- network.go
- public_ip.go
- regex.go
- servicebus.go
- shared_access_signature.go
- storage.go
- storage_container.go
- stream_analytics.go
- strings.go
- time.go
- uuid.go
- virtual_network_rule_name.go
- web_application_firewall_policy.go
Click to show internal directories.
Click to hide internal directories.