validate

package
v2.85.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailabilitySetID

func AvailabilitySetID(input interface{}, key string) (warnings []string, errors []error)

func DataDiskID

func DataDiskID(input interface{}, key string) (warnings []string, errors []error)

func DedicatedHostGroupID

func DedicatedHostGroupID(input interface{}, key string) (warnings []string, errors []error)

func DedicatedHostGroupName

func DedicatedHostGroupName() func(i interface{}, k string) (warnings []string, errors []error)

func DedicatedHostID

func DedicatedHostID(input interface{}, key string) (warnings []string, errors []error)

func DedicatedHostName

func DedicatedHostName() func(i interface{}, k string) (warnings []string, errors []error)

func DiskAccessID

func DiskAccessID(input interface{}, key string) (warnings []string, errors []error)

func DiskEncryptionSetID

func DiskEncryptionSetID(input interface{}, key string) (warnings []string, errors []error)

func DiskEncryptionSetName

func DiskEncryptionSetName(i interface{}, k string) (warnings []string, errors []error)

func DiskSizeGB

func DiskSizeGB(v interface{}, _ string) (warnings []string, errors []error)

func HostGroupID

func HostGroupID(input interface{}, key string) (warnings []string, errors []error)

func HybridMachineID

func HybridMachineID(input interface{}, key string) (warnings []string, errors []error)

func ImageID

func ImageID(input interface{}, key string) (warnings []string, errors []error)

func LinuxComputerName

func LinuxComputerName(i interface{}, k string, maxLength int, allowDashSuffix bool) (warnings []string, errors []error)

func LinuxComputerNameFull

func LinuxComputerNameFull(i interface{}, k string) (warnings []string, errors []error)

func LinuxComputerNamePrefix

func LinuxComputerNamePrefix(i interface{}, k string) (warnings []string, errors []error)

func ManagedDiskID

func ManagedDiskID(input interface{}, key string) (warnings []string, errors []error)

func ManagedDiskSizeGB

func ManagedDiskSizeGB(v interface{}, k string) (warnings []string, errors []error)

func PlanID

func PlanID(input interface{}, key string) (warnings []string, errors []error)

func ProximityPlacementGroupID

func ProximityPlacementGroupID(input interface{}, key string) (warnings []string, errors []error)

func SSHKey

func SSHKey(i interface{}, k string) (warnings []string, errors []error)

SSHKey performs some basic validation on supplied SSH Keys - Encoded Signature and Key Size are evaluated Will require rework if/when other Key Types are supported

func SSHPublicKeyID

func SSHPublicKeyID(input interface{}, key string) (warnings []string, errors []error)

func SharedImageGalleryID

func SharedImageGalleryID(input interface{}, key string) (warnings []string, errors []error)

func SharedImageGalleryName

func SharedImageGalleryName(v interface{}, k string) (warnings []string, errors []error)

func SharedImageID

func SharedImageID(input interface{}, key string) (warnings []string, errors []error)

func SharedImageName

func SharedImageName(v interface{}, k string) (warnings []string, errors []error)

func SharedImageVersionID

func SharedImageVersionID(input interface{}, key string) (warnings []string, errors []error)

func SharedImageVersionName

func SharedImageVersionName(v interface{}, k string) (warnings []string, errors []error)

func SnapshotID

func SnapshotID(input interface{}, key string) (warnings []string, errors []error)

func SnapshotName

func SnapshotName(v interface{}, _ string) (warnings []string, errors []error)

func SpotMaxPrice

func SpotMaxPrice(i interface{}, k string) (warnings []string, errors []error)

SpotMaxPrice validates the price provided is a valid Spot Price for the Compute API (and downstream API's which use this like AKS)

func VirtualMachineExtensionID

func VirtualMachineExtensionID(input interface{}, key string) (warnings []string, errors []error)

func VirtualMachineID

func VirtualMachineID(input interface{}, key string) (warnings []string, errors []error)

func VirtualMachineName

func VirtualMachineName(i interface{}, k string) (warnings []string, errors []error)

func VirtualMachineScaleSetExtensionID

func VirtualMachineScaleSetExtensionID(input interface{}, key string) (warnings []string, errors []error)

func VirtualMachineScaleSetID

func VirtualMachineScaleSetID(input interface{}, key string) (warnings []string, errors []error)

func VirtualMachineTimeZone

func VirtualMachineTimeZone() pluginsdk.SchemaValidateFunc

VirtualMachineTimeZone returns a case-sensitive validation function for the Time Zones for a Virtual Machine

func VirtualMachineTimeZoneCaseInsensitive

func VirtualMachineTimeZoneCaseInsensitive() pluginsdk.SchemaValidateFunc

VirtualMachineTimeZone returns a case-insensitive validation function for the Time Zones for a Virtual Machine

func WindowsComputerNameFull

func WindowsComputerNameFull(i interface{}, k string) (warnings []string, errors []error)

func WindowsComputerNamePrefix

func WindowsComputerNamePrefix(i interface{}, k string) (warnings []string, errors []error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL