Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the microsoft.compute v1 API group +kubebuilder:object:generate=true +groupName=microsoft.compute.infra.azure.com
Index ¶
- Variables
- type AdditionalCapabilities
- type AutomaticOSUpgradePolicy
- type AutomaticRepairsPolicy
- type BillingProfile
- type BootDiagnostics
- type DataDisk
- type DiagnosticsProfile
- type HardwareProfile
- type ImageReference
- type LinuxConfiguration
- type ManagedDiskParameters
- type NetworkInterfaceReference
- type NetworkInterfaceReferenceProperties
- type NetworkProfile
- type OSDisk
- type OSProfile
- type Plan
- type RollingUpgradePolicy
- type SSHConfiguration
- type SSHPublicKey
- type ScaleInPolicy
- type ScheduledEventsProfile
- type Sku
- type StorageProfile
- type TerminateNotificationProfile
- type UpgradePolicy
- type VirtualHardDisk
- type VirtualMachine
- func (in *VirtualMachine) DeepCopy() *VirtualMachine
- func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)
- func (in *VirtualMachine) DeepCopyObject() runtime.Object
- func (vm *VirtualMachine) GetResourceGroupObjectRef() *azcorev1.KnownTypeReference
- func (*VirtualMachine) Hub()
- func (*VirtualMachine) ResourceType() string
- type VirtualMachineIdentity
- type VirtualMachineList
- type VirtualMachineProperties
- type VirtualMachineScaleSet
- func (in *VirtualMachineScaleSet) DeepCopy() *VirtualMachineScaleSet
- func (in *VirtualMachineScaleSet) DeepCopyInto(out *VirtualMachineScaleSet)
- func (in *VirtualMachineScaleSet) DeepCopyObject() runtime.Object
- func (vmss *VirtualMachineScaleSet) GetResourceGroupObjectRef() *azcorev1.KnownTypeReference
- func (*VirtualMachineScaleSet) Hub()
- func (*VirtualMachineScaleSet) ResourceType() string
- type VirtualMachineScaleSetDataDisk
- type VirtualMachineScaleSetIPConfiguration
- type VirtualMachineScaleSetIPConfigurationProperties
- type VirtualMachineScaleSetIPTag
- type VirtualMachineScaleSetIdentity
- type VirtualMachineScaleSetList
- type VirtualMachineScaleSetManagedDiskParameters
- type VirtualMachineScaleSetNetworkConfiguration
- type VirtualMachineScaleSetNetworkConfigurationDNSSettings
- type VirtualMachineScaleSetNetworkConfigurationProperties
- type VirtualMachineScaleSetNetworkProfile
- type VirtualMachineScaleSetOSDisk
- type VirtualMachineScaleSetOSProfile
- type VirtualMachineScaleSetProperties
- type VirtualMachineScaleSetPublicIPAddressConfiguration
- type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
- func (in *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings) DeepCopy() *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
- func (in *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings) DeepCopyInto(out *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings)
- type VirtualMachineScaleSetPublicIPAddressConfigurationProperties
- type VirtualMachineScaleSetScaleInRules
- type VirtualMachineScaleSetSpec
- type VirtualMachineScaleSetStatus
- type VirtualMachineScaleSetStorageProfile
- type VirtualMachineScaleSetVMProfile
- type VirtualMachineSpec
- type VirtualMachineStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "microsoft.compute.infra.azure.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AdditionalCapabilities ¶
type AdditionalCapabilities struct { // UltraSSDEnabled - The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. UltraSSDEnabled *bool `json:"ultraSSDEnabled,omitempty"` }
func (*AdditionalCapabilities) DeepCopy ¶
func (in *AdditionalCapabilities) DeepCopy() *AdditionalCapabilities
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalCapabilities.
func (*AdditionalCapabilities) DeepCopyInto ¶
func (in *AdditionalCapabilities) DeepCopyInto(out *AdditionalCapabilities)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomaticOSUpgradePolicy ¶
type AutomaticOSUpgradePolicy struct { // EnableAutomaticOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true. EnableAutomaticOSUpgrade *bool `json:"enableAutomaticOSUpgrade,omitempty"` // DisableAutomaticRollback - Whether OS image rollback feature should be disabled. Default value is false. DisableAutomaticRollback *bool `json:"disableAutomaticRollback,omitempty"` }
func (*AutomaticOSUpgradePolicy) DeepCopy ¶
func (in *AutomaticOSUpgradePolicy) DeepCopy() *AutomaticOSUpgradePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticOSUpgradePolicy.
func (*AutomaticOSUpgradePolicy) DeepCopyInto ¶
func (in *AutomaticOSUpgradePolicy) DeepCopyInto(out *AutomaticOSUpgradePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutomaticRepairsPolicy ¶
type AutomaticRepairsPolicy struct { // Enabled - Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. Enabled *bool `json:"enabled,omitempty"` // GracePeriod - The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). GracePeriod *string `json:"gracePeriod,omitempty"` }
func (*AutomaticRepairsPolicy) DeepCopy ¶
func (in *AutomaticRepairsPolicy) DeepCopy() *AutomaticRepairsPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticRepairsPolicy.
func (*AutomaticRepairsPolicy) DeepCopyInto ¶
func (in *AutomaticRepairsPolicy) DeepCopyInto(out *AutomaticRepairsPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BillingProfile ¶
type BillingProfile struct { // MaxPrice - Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01. // +optional // +kubebuilder:validation:pattern="^[0-9]+(\.[0-9]+)?$" MaxPrice *string `json:"maxPrice,omitempty"` }
func (*BillingProfile) DeepCopy ¶
func (in *BillingProfile) DeepCopy() *BillingProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BillingProfile.
func (*BillingProfile) DeepCopyInto ¶
func (in *BillingProfile) DeepCopyInto(out *BillingProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootDiagnostics ¶
type BootDiagnostics struct { // Enabled - Whether boot diagnostics should be enabled on the Virtual Machine. Enabled *bool `json:"enabled,omitempty"` // StorageURI - Uri of the storage account to use for placing the console output and screenshot. StorageURI *string `json:"storageUri,omitempty"` }
func (*BootDiagnostics) DeepCopy ¶
func (in *BootDiagnostics) DeepCopy() *BootDiagnostics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDiagnostics.
func (*BootDiagnostics) DeepCopyInto ¶
func (in *BootDiagnostics) DeepCopyInto(out *BootDiagnostics)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataDisk ¶
type DataDisk struct { // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` // Name - The disk name. Name *string `json:"name,omitempty"` // Vhd - The virtual hard disk. Vhd *VirtualHardDisk `json:"vhd,omitempty"` // Image - The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. Image *VirtualHardDisk `json:"image,omitempty"` // Caching - Specifies the caching requirements. // +kubebuilder:validation:Enum=None;ReadOnly;ReadWrite // +kubebuilder:default=None Caching string `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // CreateOption - Specifies how the disk should be created. // +kubebuilder:validation:Enum=FromImage;Empty;Attach CreateOption string `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB // +kubebuilder:validation:Maximum=1023 DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` // ToBeDetached - Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset ToBeDetached *bool `json:"toBeDetached,omitempty"` }
func (*DataDisk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDisk.
func (*DataDisk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiagnosticsProfile ¶
type DiagnosticsProfile struct { // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"` }
func (*DiagnosticsProfile) DeepCopy ¶
func (in *DiagnosticsProfile) DeepCopy() *DiagnosticsProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticsProfile.
func (*DiagnosticsProfile) DeepCopyInto ¶
func (in *DiagnosticsProfile) DeepCopyInto(out *DiagnosticsProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HardwareProfile ¶
type HardwareProfile struct { // VMSize - Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). The available VM sizes depend on region and availability set. For a list of available sizes use these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) [List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list) [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). Possible values include: 'BasicA0', 'BasicA1', 'BasicA2', 'BasicA3', 'BasicA4', 'StandardA0', 'StandardA1', 'StandardA2', 'StandardA3', 'StandardA4', 'StandardA5', 'StandardA6', 'StandardA7', 'StandardA8', 'StandardA9', 'StandardA10', 'StandardA11', 'StandardA1V2', 'StandardA2V2', 'StandardA4V2', 'StandardA8V2', 'StandardA2mV2', 'StandardA4mV2', 'StandardA8mV2', 'StandardB1s', 'StandardB1ms', 'StandardB2s', 'StandardB2ms', 'StandardB4ms', 'StandardB8ms', 'StandardD1', 'StandardD2', 'StandardD3', 'StandardD4', 'StandardD11', 'StandardD12', 'StandardD13', 'StandardD14', 'StandardD1V2', 'StandardD2V2', 'StandardD3V2', 'StandardD4V2', 'StandardD5V2', 'StandardD2V3', 'StandardD4V3', 'StandardD8V3', 'StandardD16V3', 'StandardD32V3', 'StandardD64V3', 'StandardD2sV3', 'StandardD4sV3', 'StandardD8sV3', 'StandardD16sV3', 'StandardD32sV3', 'StandardD64sV3', 'StandardD11V2', 'StandardD12V2', 'StandardD13V2', 'StandardD14V2', 'StandardD15V2', 'StandardDS1', 'StandardDS2', 'StandardDS3', 'StandardDS4', 'StandardDS11', 'StandardDS12', 'StandardDS13', 'StandardDS14', 'StandardDS1V2', 'StandardDS2V2', 'StandardDS3V2', 'StandardDS4V2', 'StandardDS5V2', 'StandardDS11V2', 'StandardDS12V2', 'StandardDS13V2', 'StandardDS14V2', 'StandardDS15V2', 'StandardDS134V2', 'StandardDS132V2', 'StandardDS148V2', 'StandardDS144V2', 'StandardE2V3', 'StandardE4V3', 'StandardE8V3', 'StandardE16V3', 'StandardE32V3', 'StandardE64V3', 'StandardE2sV3', 'StandardE4sV3', 'StandardE8sV3', 'StandardE16sV3', 'StandardE32sV3', 'StandardE64sV3', 'StandardE3216V3', 'StandardE328sV3', 'StandardE6432sV3', 'StandardE6416sV3', 'StandardF1', 'StandardF2', 'StandardF4', 'StandardF8', 'StandardF16', 'StandardF1s', 'StandardF2s', 'StandardF4s', 'StandardF8s', 'StandardF16s', 'StandardF2sV2', 'StandardF4sV2', 'StandardF8sV2', 'StandardF16sV2', 'StandardF32sV2', 'StandardF64sV2', 'StandardF72sV2', 'StandardG1', 'StandardG2', 'StandardG3', 'StandardG4', 'StandardG5', 'StandardGS1', 'StandardGS2', 'StandardGS3', 'StandardGS4', 'StandardGS5', 'StandardGS48', 'StandardGS44', 'StandardGS516', 'StandardGS58', 'StandardH8', 'StandardH16', 'StandardH8m', 'StandardH16m', 'StandardH16r', 'StandardH16mr', 'StandardL4s', 'StandardL8s', 'StandardL16s', 'StandardL32s', 'StandardM64s', 'StandardM64ms', 'StandardM128s', 'StandardM128ms', 'StandardM6432ms', 'StandardM6416ms', 'StandardM12864ms', 'StandardM12832ms', 'StandardNC6', 'StandardNC12', 'StandardNC24', 'StandardNC24r', 'StandardNC6sV2', 'StandardNC12sV2', 'StandardNC24sV2', 'StandardNC24rsV2', 'StandardNC6sV3', 'StandardNC12sV3', 'StandardNC24sV3', 'StandardNC24rsV3', 'StandardND6s', 'StandardND12s', 'StandardND24s', 'StandardND24rs', 'StandardNV6', 'StandardNV12', 'StandardNV24' VMSize string `json:"vmSize,omitempty"` }
func (*HardwareProfile) DeepCopy ¶
func (in *HardwareProfile) DeepCopy() *HardwareProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareProfile.
func (*HardwareProfile) DeepCopyInto ¶
func (in *HardwareProfile) DeepCopyInto(out *HardwareProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageReference ¶
type ImageReference struct { // Publisher - The image publisher. Publisher *string `json:"publisher,omitempty"` // Offer - Specifies the offer of the platform image or marketplace image used to create the virtual machine. Offer *string `json:"offer,omitempty"` // Sku - The image SKU. Sku *string `json:"sku,omitempty"` // Version - Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Version *string `json:"version,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
func (*ImageReference) DeepCopy ¶
func (in *ImageReference) DeepCopy() *ImageReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReference.
func (*ImageReference) DeepCopyInto ¶
func (in *ImageReference) DeepCopyInto(out *ImageReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinuxConfiguration ¶
type LinuxConfiguration struct { // DisablePasswordAuthentication - Specifies whether password authentication should be disabled. DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty"` // SSH - Specifies the ssh key configuration for a Linux OS. SSH *SSHConfiguration `json:"ssh,omitempty"` // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` }
func (*LinuxConfiguration) DeepCopy ¶
func (in *LinuxConfiguration) DeepCopy() *LinuxConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxConfiguration.
func (*LinuxConfiguration) DeepCopyInto ¶
func (in *LinuxConfiguration) DeepCopyInto(out *LinuxConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedDiskParameters ¶
type ManagedDiskParameters struct { // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. // +kubebuilder:validation:Enum=Premium_LRS;StandardSSD_LRS;Standard_LRS;UltraSSD_LRS StorageAccountType *string `json:"storageAccountType,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
func (*ManagedDiskParameters) DeepCopy ¶
func (in *ManagedDiskParameters) DeepCopy() *ManagedDiskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDiskParameters.
func (*ManagedDiskParameters) DeepCopyInto ¶
func (in *ManagedDiskParameters) DeepCopyInto(out *ManagedDiskParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceReference ¶
type NetworkInterfaceReference struct { *NetworkInterfaceReferenceProperties `json:"properties,omitempty"` azcorev1.KnownTypeReference `json:","` }
func (*NetworkInterfaceReference) DeepCopy ¶
func (in *NetworkInterfaceReference) DeepCopy() *NetworkInterfaceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceReference.
func (*NetworkInterfaceReference) DeepCopyInto ¶
func (in *NetworkInterfaceReference) DeepCopyInto(out *NetworkInterfaceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceReferenceProperties ¶
type NetworkInterfaceReferenceProperties struct {
Primary *bool `json:"primary,omitempty"`
}
func (*NetworkInterfaceReferenceProperties) DeepCopy ¶
func (in *NetworkInterfaceReferenceProperties) DeepCopy() *NetworkInterfaceReferenceProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceReferenceProperties.
func (*NetworkInterfaceReferenceProperties) DeepCopyInto ¶
func (in *NetworkInterfaceReferenceProperties) DeepCopyInto(out *NetworkInterfaceReferenceProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkProfile ¶
type NetworkProfile struct { // NetworkInterfaces - Specifies the list of resource Ids for the network interfaces associated with the virtual machine. NetworkInterfaceRefs *[]NetworkInterfaceReference `json:"networkInterfaceRefs,omitempty" group:"microsoft.network.infra.azure.com" kind:"NetworkInterface"` }
func (*NetworkProfile) DeepCopy ¶
func (in *NetworkProfile) DeepCopy() *NetworkProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkProfile.
func (*NetworkProfile) DeepCopyInto ¶
func (in *NetworkProfile) DeepCopyInto(out *NetworkProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OSDisk ¶
type OSDisk struct { // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. // +kubebuilder:validation:Enum=Windows;Linux OsType *string `json:"osType,omitempty"` // Name - The disk name. Name *string `json:"name,omitempty"` // Vhd - The virtual hard disk. Vhd *VirtualHardDisk `json:"vhd,omitempty"` // Image - The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. Image *VirtualHardDisk `json:"image,omitempty"` // Caching - Specifies the caching requirements. // +kubebuilder:validation:Enum=None;ReadOnly;ReadWrite // +kubebuilder:default=None Caching string `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // CreateOption - Specifies how the virtual machine should be created. // +kubebuilder:validation:Enum=FromImage;Empty;Attach CreateOption string `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB // +kubebuilder:validation:Maximum=1023 DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` }
func (*OSDisk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSDisk.
func (*OSDisk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OSProfile ¶
type OSProfile struct { // ComputerName - Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions). ComputerName *string `json:"computerName,omitempty"` // AdminUsername - Specifies the name of the administrator account. This property cannot be updated after the VM is created. **Windows-only restriction:** Cannot end in "." **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". **Minimum-length (Linux):** 1 character **Max-length (Linux):** 64 characters **Max-length (Windows):** 20 characters For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) AdminUsername *string `json:"adminUsername,omitempty"` // AdminPassword - Specifies the password of the administrator account. **Minimum-length (Windows):** 8 characters **Minimum-length (Linux):** 6 characters **Max-length (Windows):** 123 characters **Max-length (Linux):** 72 characters **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) AdminPassword *string `json:"adminPassword,omitempty"` // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property** This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/) For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) CustomData *string `json:"customData,omitempty"` // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` // AllowExtensionOperations - Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine. AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty"` // RequireGuestProvisionSignal - Specifies whether the guest provision signal is required to infer provision success of the virtual machine. RequireGuestProvisionSignal *bool `json:"requireGuestProvisionSignal,omitempty"` }
func (*OSProfile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSProfile.
func (*OSProfile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Plan ¶
type Plan struct { Name string `json:"name,omitempty"` // Publisher - The publisher ID. Publisher string `json:"publisher,omitempty"` // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Product string `json:"product,omitempty"` // PromotionCode - The promotion code. PromotionCode string `json:"promotionCode,omitempty"` }
func (*Plan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plan.
func (*Plan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RollingUpgradePolicy ¶
type RollingUpgradePolicy struct { // MaxBatchInstancePercent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%. MaxBatchInstancePercent *int32 `json:"maxBatchInstancePercent,omitempty"` // MaxUnhealthyInstancePercent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. MaxUnhealthyInstancePercent *int32 `json:"maxUnhealthyInstancePercent,omitempty"` // MaxUnhealthyUpgradedInstancePercent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. MaxUnhealthyUpgradedInstancePercent *int32 `json:"maxUnhealthyUpgradedInstancePercent,omitempty"` // PauseTimeBetweenBatches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches,omitempty"` }
func (*RollingUpgradePolicy) DeepCopy ¶
func (in *RollingUpgradePolicy) DeepCopy() *RollingUpgradePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpgradePolicy.
func (*RollingUpgradePolicy) DeepCopyInto ¶
func (in *RollingUpgradePolicy) DeepCopyInto(out *RollingUpgradePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHConfiguration ¶
type SSHConfiguration struct { // PublicKeys - The list of SSH public keys used to authenticate with linux based VMs. PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"` }
func (*SSHConfiguration) DeepCopy ¶
func (in *SSHConfiguration) DeepCopy() *SSHConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHConfiguration.
func (*SSHConfiguration) DeepCopyInto ¶
func (in *SSHConfiguration) DeepCopyInto(out *SSHConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHPublicKey ¶
type SSHPublicKey struct { // Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys Path *string `json:"path,omitempty"` // KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). KeyData *string `json:"keyData,omitempty"` }
func (*SSHPublicKey) DeepCopy ¶
func (in *SSHPublicKey) DeepCopy() *SSHPublicKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHPublicKey.
func (*SSHPublicKey) DeepCopyInto ¶
func (in *SSHPublicKey) DeepCopyInto(out *SSHPublicKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScaleInPolicy ¶
type ScaleInPolicy struct { // Rules - The rules to be followed when scaling-in a virtual machine scale set. Possible values are: **Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. **OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. **NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal. Rules []VirtualMachineScaleSetScaleInRules `json:"rules,omitempty"` }
func (*ScaleInPolicy) DeepCopy ¶
func (in *ScaleInPolicy) DeepCopy() *ScaleInPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleInPolicy.
func (*ScaleInPolicy) DeepCopyInto ¶
func (in *ScaleInPolicy) DeepCopyInto(out *ScaleInPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledEventsProfile ¶
type ScheduledEventsProfile struct { // TerminateNotificationProfile - Specifies Terminate Scheduled Event related configurations. TerminateNotificationProfile *TerminateNotificationProfile `json:"terminateNotificationProfile,omitempty"` }
func (*ScheduledEventsProfile) DeepCopy ¶
func (in *ScheduledEventsProfile) DeepCopy() *ScheduledEventsProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledEventsProfile.
func (*ScheduledEventsProfile) DeepCopyInto ¶
func (in *ScheduledEventsProfile) DeepCopyInto(out *ScheduledEventsProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sku ¶
type Sku struct { // Name - The sku name. Name string `json:"name"` // Tier - Specifies the tier of virtual machines in a scale set. Possible Values: **Standard** **Basic** // +kubebuilder:validation:Enum=Standard;Basic // +kubebuilder:default=Standard Tier string `json:"tier"` // Capacity - Specifies the number of virtual machines in the scale set. Capacity int64 `json:"capacity"` }
func (*Sku) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku.
func (*Sku) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageProfile ¶
type StorageProfile struct { // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). OsDisk *OSDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). DataDisks *[]DataDisk `json:"dataDisks,omitempty"` }
func (*StorageProfile) DeepCopy ¶
func (in *StorageProfile) DeepCopy() *StorageProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProfile.
func (*StorageProfile) DeepCopyInto ¶
func (in *StorageProfile) DeepCopyInto(out *StorageProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TerminateNotificationProfile ¶
type TerminateNotificationProfile struct { // NotBeforeTimeout - Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) NotBeforeTimeout *string `json:"notBeforeTimeout,omitempty"` // Enable - Specifies whether the Terminate Scheduled event is enabled or disabled. Enable *bool `json:"enable,omitempty"` }
func (*TerminateNotificationProfile) DeepCopy ¶
func (in *TerminateNotificationProfile) DeepCopy() *TerminateNotificationProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerminateNotificationProfile.
func (*TerminateNotificationProfile) DeepCopyInto ¶
func (in *TerminateNotificationProfile) DeepCopyInto(out *TerminateNotificationProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradePolicy ¶
type UpgradePolicy struct { // Mode - Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: **Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. **Automatic** - All virtual machines in the scale set are automatically updated at the same time. // +kubebuilder:validation:Enum=Automatic;Manual;Rolling // +kubebuilder:default=Manual Mode *string `json:"mode,omitempty"` // RollingUpgradePolicy - The configuration parameters used while performing a rolling upgrade. RollingUpgradePolicy *RollingUpgradePolicy `json:"rollingUpgradePolicy,omitempty"` // AutomaticOSUpgradePolicy - Configuration parameters used for performing automatic OS Upgrade. AutomaticOSUpgradePolicy *AutomaticOSUpgradePolicy `json:"automaticOSUpgradePolicy,omitempty"` }
func (*UpgradePolicy) DeepCopy ¶
func (in *UpgradePolicy) DeepCopy() *UpgradePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePolicy.
func (*UpgradePolicy) DeepCopyInto ¶
func (in *UpgradePolicy) DeepCopyInto(out *UpgradePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualHardDisk ¶
type VirtualHardDisk struct { // URI - Specifies the virtual hard disk's uri. URI *string `json:"uri,omitempty"` }
func (*VirtualHardDisk) DeepCopy ¶
func (in *VirtualHardDisk) DeepCopy() *VirtualHardDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualHardDisk.
func (*VirtualHardDisk) DeepCopyInto ¶
func (in *VirtualHardDisk) DeepCopyInto(out *VirtualHardDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachine ¶
type VirtualMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineSpec `json:"spec,omitempty"` Status VirtualMachineStatus `json:"status,omitempty"` }
VirtualMachine is the Schema for the virtualmachines API
func (*VirtualMachine) DeepCopy ¶
func (in *VirtualMachine) DeepCopy() *VirtualMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine.
func (*VirtualMachine) DeepCopyInto ¶
func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachine) DeepCopyObject ¶
func (in *VirtualMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VirtualMachine) GetResourceGroupObjectRef ¶
func (vm *VirtualMachine) GetResourceGroupObjectRef() *azcorev1.KnownTypeReference
func (*VirtualMachine) Hub ¶
func (*VirtualMachine) Hub()
func (*VirtualMachine) ResourceType ¶
func (*VirtualMachine) ResourceType() string
type VirtualMachineIdentity ¶
type VirtualMachineIdentity struct { // Type - The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. // +kubebuilder:validation:Enum=SystemAssigned;UserAssigned;None Type string `json:"type"` // UserAssignedIdentities - The list of user identities associated with the Virtual Machine. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities []string `json:"userAssignedIdentities"` }
func (*VirtualMachineIdentity) DeepCopy ¶
func (in *VirtualMachineIdentity) DeepCopy() *VirtualMachineIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIdentity.
func (*VirtualMachineIdentity) DeepCopyInto ¶
func (in *VirtualMachineIdentity) DeepCopyInto(out *VirtualMachineIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineList ¶
type VirtualMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualMachine `json:"items"` }
VirtualMachineList contains a list of VirtualMachine
func (*VirtualMachineList) DeepCopy ¶
func (in *VirtualMachineList) DeepCopy() *VirtualMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineList.
func (*VirtualMachineList) DeepCopyInto ¶
func (in *VirtualMachineList) DeepCopyInto(out *VirtualMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineList) DeepCopyObject ¶
func (in *VirtualMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineProperties ¶
type VirtualMachineProperties struct { // HardwareProfile - Specifies the hardware settings for the virtual machine. HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // OsProfile - Specifies the operating system settings for the virtual machine. OsProfile *OSProfile `json:"osProfile,omitempty"` // NetworkProfile - Specifies the network interfaces of the virtual machine. NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // DiagnosticsProfile - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. Possible values are: Windows_Client Windows_Server If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) Minimum api-version: 2015-06-15 LicenseType *string `json:"licenseType,omitempty"` }
func (*VirtualMachineProperties) DeepCopy ¶
func (in *VirtualMachineProperties) DeepCopy() *VirtualMachineProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineProperties.
func (*VirtualMachineProperties) DeepCopyInto ¶
func (in *VirtualMachineProperties) DeepCopyInto(out *VirtualMachineProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSet ¶
type VirtualMachineScaleSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineScaleSetSpec `json:"spec,omitempty"` Status VirtualMachineScaleSetStatus `json:"status,omitempty"` }
VirtualMachineScaleSet is the Schema for the virtualmachinescalesets API
func (*VirtualMachineScaleSet) DeepCopy ¶
func (in *VirtualMachineScaleSet) DeepCopy() *VirtualMachineScaleSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSet.
func (*VirtualMachineScaleSet) DeepCopyInto ¶
func (in *VirtualMachineScaleSet) DeepCopyInto(out *VirtualMachineScaleSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineScaleSet) DeepCopyObject ¶
func (in *VirtualMachineScaleSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VirtualMachineScaleSet) GetResourceGroupObjectRef ¶
func (vmss *VirtualMachineScaleSet) GetResourceGroupObjectRef() *azcorev1.KnownTypeReference
func (*VirtualMachineScaleSet) Hub ¶
func (*VirtualMachineScaleSet) Hub()
func (*VirtualMachineScaleSet) ResourceType ¶
func (*VirtualMachineScaleSet) ResourceType() string
type VirtualMachineScaleSetDataDisk ¶
type VirtualMachineScaleSetDataDisk struct { // Name - The disk name. Name *string `json:"name,omitempty"` // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` // Caching - Specifies the caching requirements. // +kubebuilder:validation:Enum=None;ReadOnly;ReadWrite // +kubebuilder:default=None Caching string `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // CreateOption - Specifies how the virtual machine should be created. // +kubebuilder:validation:Enum=FromImage;Empty;Attach CreateOption string `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` // DiskIOPSReadWrite - Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"` // DiskMBpsReadWrite - Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"` }
func (*VirtualMachineScaleSetDataDisk) DeepCopy ¶
func (in *VirtualMachineScaleSetDataDisk) DeepCopy() *VirtualMachineScaleSetDataDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetDataDisk.
func (*VirtualMachineScaleSetDataDisk) DeepCopyInto ¶
func (in *VirtualMachineScaleSetDataDisk) DeepCopyInto(out *VirtualMachineScaleSetDataDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetIPConfiguration ¶
type VirtualMachineScaleSetIPConfiguration struct { Name *string `json:"name,omitempty"` Properties *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"` }
func (*VirtualMachineScaleSetIPConfiguration) DeepCopy ¶
func (in *VirtualMachineScaleSetIPConfiguration) DeepCopy() *VirtualMachineScaleSetIPConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIPConfiguration.
func (*VirtualMachineScaleSetIPConfiguration) DeepCopyInto ¶
func (in *VirtualMachineScaleSetIPConfiguration) DeepCopyInto(out *VirtualMachineScaleSetIPConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetIPConfigurationProperties ¶
type VirtualMachineScaleSetIPConfigurationProperties struct { // Subnet - Specifies the identifier of the subnet. SubnetRef *azcorev1.KnownTypeReference `json:"subnetRef,omitempty" group:"microsoft.network.infra.azure.com" kind:"Subnet"` // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` // PublicIPAddressConfiguration - The publicIPAddressConfiguration. PublicIPAddressConfiguration *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` // +kubebuilder:validation:Enum=IPv4;IPv6 PrivateIPAddressVersion string `json:"privateIPAddressVersion,omitempty"` // LoadBalancerBackendAddressPools - Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer. LoadBalancerBackendAddressPoolRefs []azcorev1.KnownTypeReference `json:"loadBalancerBackendAddressPoolRefs,omitempty" group:"microsoft.network.infra.azure.com" kind:"BackendAddressPool"` // LoadBalancerInboundNatPools - Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer LoadBalancerInboundNatPoolRefs []azcorev1.KnownTypeReference `json:"loadBalancerInboundNatPoolRefs,omitempty" group:"microsoft.network.infra.azure.com" kind:"InboundNatPool"` }
func (*VirtualMachineScaleSetIPConfigurationProperties) DeepCopy ¶
func (in *VirtualMachineScaleSetIPConfigurationProperties) DeepCopy() *VirtualMachineScaleSetIPConfigurationProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIPConfigurationProperties.
func (*VirtualMachineScaleSetIPConfigurationProperties) DeepCopyInto ¶
func (in *VirtualMachineScaleSetIPConfigurationProperties) DeepCopyInto(out *VirtualMachineScaleSetIPConfigurationProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetIPTag ¶
type VirtualMachineScaleSetIPTag struct { // IPTagType - IP tag type. Example: FirstPartyUsage. IPTagType *string `json:"ipTagType,omitempty"` // Tag - IP tag associated with the public IP. Example: SQL, Storage etc. Tag *string `json:"tag,omitempty"` }
func (*VirtualMachineScaleSetIPTag) DeepCopy ¶
func (in *VirtualMachineScaleSetIPTag) DeepCopy() *VirtualMachineScaleSetIPTag
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIPTag.
func (*VirtualMachineScaleSetIPTag) DeepCopyInto ¶
func (in *VirtualMachineScaleSetIPTag) DeepCopyInto(out *VirtualMachineScaleSetIPTag)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetIdentity ¶
type VirtualMachineScaleSetIdentity struct { // Type - The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. // +kubebuilder:validation:Enum=SystemAssigned;UserAssigned;None Type string `json:"type"` // UserAssignedIdentities - The list of user identities associated with the Virtual Machine. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities []string `json:"userAssignedIdentities"` }
func (*VirtualMachineScaleSetIdentity) DeepCopy ¶
func (in *VirtualMachineScaleSetIdentity) DeepCopy() *VirtualMachineScaleSetIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIdentity.
func (*VirtualMachineScaleSetIdentity) DeepCopyInto ¶
func (in *VirtualMachineScaleSetIdentity) DeepCopyInto(out *VirtualMachineScaleSetIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetList ¶
type VirtualMachineScaleSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualMachineScaleSet `json:"items"` }
VirtualMachineScaleSetList contains a list of VirtualMachineScaleSet
func (*VirtualMachineScaleSetList) DeepCopy ¶
func (in *VirtualMachineScaleSetList) DeepCopy() *VirtualMachineScaleSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetList.
func (*VirtualMachineScaleSetList) DeepCopyInto ¶
func (in *VirtualMachineScaleSetList) DeepCopyInto(out *VirtualMachineScaleSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineScaleSetList) DeepCopyObject ¶
func (in *VirtualMachineScaleSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineScaleSetManagedDiskParameters ¶
type VirtualMachineScaleSetManagedDiskParameters struct { // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. // +kubebuilder:validation:Enum=Premium_LRS;StandardSSD_LRS;Standard_LRS;UltraSSD_LRS StorageAccountType *string `json:"storageAccountType,omitempty"` }
func (*VirtualMachineScaleSetManagedDiskParameters) DeepCopy ¶
func (in *VirtualMachineScaleSetManagedDiskParameters) DeepCopy() *VirtualMachineScaleSetManagedDiskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetManagedDiskParameters.
func (*VirtualMachineScaleSetManagedDiskParameters) DeepCopyInto ¶
func (in *VirtualMachineScaleSetManagedDiskParameters) DeepCopyInto(out *VirtualMachineScaleSetManagedDiskParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetNetworkConfiguration ¶
type VirtualMachineScaleSetNetworkConfiguration struct { // Name - The network configuration name. Name *string `json:"name,omitempty"` Properties *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"` }
func (*VirtualMachineScaleSetNetworkConfiguration) DeepCopy ¶
func (in *VirtualMachineScaleSetNetworkConfiguration) DeepCopy() *VirtualMachineScaleSetNetworkConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetNetworkConfiguration.
func (*VirtualMachineScaleSetNetworkConfiguration) DeepCopyInto ¶
func (in *VirtualMachineScaleSetNetworkConfiguration) DeepCopyInto(out *VirtualMachineScaleSetNetworkConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetNetworkConfigurationDNSSettings ¶
type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct { // DNSServers - List of DNS servers IP addresses DNSServers []string `json:"dnsServers,omitempty"` }
func (*VirtualMachineScaleSetNetworkConfigurationDNSSettings) DeepCopy ¶
func (in *VirtualMachineScaleSetNetworkConfigurationDNSSettings) DeepCopy() *VirtualMachineScaleSetNetworkConfigurationDNSSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetNetworkConfigurationDNSSettings.
func (*VirtualMachineScaleSetNetworkConfigurationDNSSettings) DeepCopyInto ¶
func (in *VirtualMachineScaleSetNetworkConfigurationDNSSettings) DeepCopyInto(out *VirtualMachineScaleSetNetworkConfigurationDNSSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetNetworkConfigurationProperties ¶
type VirtualMachineScaleSetNetworkConfigurationProperties struct { // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled. EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` // NetworkSecurityGroup - The network security group. NetworkSecurityGroupRef *azcorev1.KnownTypeReference `json:"networkSecurityGroupRef,omitempty" group:"microsoft.network.infra.azure.com" kind:"NetworkSecurityGroup"` // DNSSettings - The dns settings to be applied on the network interfaces. DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"` // IPConfigurations - Specifies the IP configurations of the network interface. IPConfigurations []VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"` // EnableIPForwarding - Whether IP forwarding enabled on this NIC. EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` }
func (*VirtualMachineScaleSetNetworkConfigurationProperties) DeepCopy ¶
func (in *VirtualMachineScaleSetNetworkConfigurationProperties) DeepCopy() *VirtualMachineScaleSetNetworkConfigurationProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetNetworkConfigurationProperties.
func (*VirtualMachineScaleSetNetworkConfigurationProperties) DeepCopyInto ¶
func (in *VirtualMachineScaleSetNetworkConfigurationProperties) DeepCopyInto(out *VirtualMachineScaleSetNetworkConfigurationProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetNetworkProfile ¶
type VirtualMachineScaleSetNetworkProfile struct { // HealthProbe - A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. HealthProbeRef *azcorev1.KnownTypeReference `json:"healthProbeRef,omitempty"` // NetworkInterfaceConfigurations - The list of network configurations. NetworkInterfaceConfigurations []VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"` }
func (*VirtualMachineScaleSetNetworkProfile) DeepCopy ¶
func (in *VirtualMachineScaleSetNetworkProfile) DeepCopy() *VirtualMachineScaleSetNetworkProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetNetworkProfile.
func (*VirtualMachineScaleSetNetworkProfile) DeepCopyInto ¶
func (in *VirtualMachineScaleSetNetworkProfile) DeepCopyInto(out *VirtualMachineScaleSetNetworkProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetOSDisk ¶
type VirtualMachineScaleSetOSDisk struct { // Name - The disk name. Name *string `json:"name,omitempty"` // Caching - Specifies the caching requirements. // +kubebuilder:validation:Enum=None;ReadOnly;ReadWrite // +kubebuilder:default=None Caching string `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // CreateOption - Specifies how the virtual machine should be created. // +kubebuilder:validation:Enum=FromImage;Empty;Attach CreateOption string `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB // +kubebuilder:validation:Maximum=1023 DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. // +kubebuilder:validation:Enum=Windows;Linux OsType *string `json:"osType,omitempty"` // Image - Specifies information about the unmanaged user image to base the scale set on. Image *VirtualHardDisk `json:"image,omitempty"` // VhdContainers - Specifies the container urls that are used to store operating system disks for the scale set. VhdContainers []string `json:"vhdContainers,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` }
func (*VirtualMachineScaleSetOSDisk) DeepCopy ¶
func (in *VirtualMachineScaleSetOSDisk) DeepCopy() *VirtualMachineScaleSetOSDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetOSDisk.
func (*VirtualMachineScaleSetOSDisk) DeepCopyInto ¶
func (in *VirtualMachineScaleSetOSDisk) DeepCopyInto(out *VirtualMachineScaleSetOSDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetOSProfile ¶
type VirtualMachineScaleSetOSProfile struct { // ComputerNamePrefix - Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. ComputerNamePrefix string `json:"computerNamePrefix"` // AdminUsername - Specifies the name of the administrator account. **Windows-only restriction:** Cannot end in "." **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". **Minimum-length (Linux):** 1 character **Max-length (Linux):** 64 characters **Max-length (Windows):** 20 characters For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) AdminUsername string `json:"adminUsername"` // AdminPassword - Specifies the password of the administrator account. **Minimum-length (Windows):** 8 characters **Minimum-length (Linux):** 6 characters **Max-length (Windows):** 123 characters **Max-length (Linux):** 72 characters **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) AdminPassword *string `json:"adminPassword,omitempty"` // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) CustomData *string `json:"customData,omitempty"` // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` }
func (*VirtualMachineScaleSetOSProfile) DeepCopy ¶
func (in *VirtualMachineScaleSetOSProfile) DeepCopy() *VirtualMachineScaleSetOSProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetOSProfile.
func (*VirtualMachineScaleSetOSProfile) DeepCopyInto ¶
func (in *VirtualMachineScaleSetOSProfile) DeepCopyInto(out *VirtualMachineScaleSetOSProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetProperties ¶
type VirtualMachineScaleSetProperties struct { // UpgradePolicy - The upgrade policy. UpgradePolicy UpgradePolicy `json:"upgradePolicy"` // AutomaticRepairsPolicy - Policy for automatic repairs. AutomaticRepairsPolicy *AutomaticRepairsPolicy `json:"automaticRepairsPolicy,omitempty"` // VirtualMachineProfile - The virtual machine profile. VirtualMachineProfile VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // Overprovision - Specifies whether the Virtual Machine Scale Set should be overprovisioned. Overprovision *bool `json:"overprovision,omitempty"` // DoNotRunExtensionsOnOverprovisionedVMs - When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. DoNotRunExtensionsOnOverprovisionedVMs *bool `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"` // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"` // ZoneBalance - Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. ZoneBalance *bool `json:"zoneBalance,omitempty"` // PlatformFaultDomainCount - Fault Domain count for each placement group. PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"` // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type. AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"` // ScaleInPolicy - Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in. ScaleInPolicy *ScaleInPolicy `json:"scaleInPolicy,omitempty"` }
func (*VirtualMachineScaleSetProperties) DeepCopy ¶
func (in *VirtualMachineScaleSetProperties) DeepCopy() *VirtualMachineScaleSetProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetProperties.
func (*VirtualMachineScaleSetProperties) DeepCopyInto ¶
func (in *VirtualMachineScaleSetProperties) DeepCopyInto(out *VirtualMachineScaleSetProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetPublicIPAddressConfiguration ¶
type VirtualMachineScaleSetPublicIPAddressConfiguration struct { // Name - The publicIP address configuration name. Name *string `json:"name,omitempty"` Properties *VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"` }
func (*VirtualMachineScaleSetPublicIPAddressConfiguration) DeepCopy ¶
func (in *VirtualMachineScaleSetPublicIPAddressConfiguration) DeepCopy() *VirtualMachineScaleSetPublicIPAddressConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetPublicIPAddressConfiguration.
func (*VirtualMachineScaleSetPublicIPAddressConfiguration) DeepCopyInto ¶
func (in *VirtualMachineScaleSetPublicIPAddressConfiguration) DeepCopyInto(out *VirtualMachineScaleSetPublicIPAddressConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings struct { // DomainNameLabel - The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created DomainNameLabel *string `json:"domainNameLabel,omitempty"` }
func (*VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings) DeepCopy ¶
func (in *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings) DeepCopy() *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings.
func (*VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings) DeepCopyInto ¶
func (in *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings) DeepCopyInto(out *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct { // IdleTimeoutInMinutes - The idle timeout of the public IP address. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // DNSSettings - The dns settings to be applied on the publicIP addresses . DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"` // IPTags - The list of IP tags associated with the public IP address. IPTags []VirtualMachineScaleSetIPTag `json:"ipTags,omitempty"` // +kubebuilder:validation:Enum=IPv4;IPv6 PublicIPAddressVersion string `json:"publicIPAddressVersion,omitempty"` }
func (*VirtualMachineScaleSetPublicIPAddressConfigurationProperties) DeepCopy ¶
func (in *VirtualMachineScaleSetPublicIPAddressConfigurationProperties) DeepCopy() *VirtualMachineScaleSetPublicIPAddressConfigurationProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetPublicIPAddressConfigurationProperties.
func (*VirtualMachineScaleSetPublicIPAddressConfigurationProperties) DeepCopyInto ¶
func (in *VirtualMachineScaleSetPublicIPAddressConfigurationProperties) DeepCopyInto(out *VirtualMachineScaleSetPublicIPAddressConfigurationProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetScaleInRules ¶
type VirtualMachineScaleSetScaleInRules string
+kubebuilder:validation:Enum=Default;NewestVM;OldestVM
const ( // VirtualMachineScaleSetScaleInRuleDefault is the default VirtualMachineScaleSetScaleInRuleDefault VirtualMachineScaleSetScaleInRules = "Default" // VirtualMachineScaleSetScaleInRuleNewestVM chooses the newest VM VirtualMachineScaleSetScaleInRuleNewestVM VirtualMachineScaleSetScaleInRules = "NewestVM" // VirtualMachineScaleSetScaleInRuleOldestVM chooses the oldest VM VirtualMachineScaleSetScaleInRuleOldestVM VirtualMachineScaleSetScaleInRules = "OldestVM" )
type VirtualMachineScaleSetSpec ¶
type VirtualMachineScaleSetSpec struct { // +k8s:conversion-gen=false APIVersion string `json:"apiVersion"` // ResourceGroupRef is the Azure Resource Group the VirtualNetwork resides within // +kubebuilder:validation:Required ResourceGroupRef *azcorev1.KnownTypeReference `json:"resourceGroupRef" group:"microsoft.resources.infra.azure.com" kind:"ResourceGroup"` // Sku - The virtual machine scale set sku. Sku Sku `json:"sku"` // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. Plan *Plan `json:"plan,omitempty"` Properties VirtualMachineScaleSetProperties `json:"properties"` // Identity - The identity of the virtual machine scale set, if configured. Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"` // Zones - The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set Zones []string `json:"zones,omitempty"` // Location of the VNET in Azure // +kubebuilder:validation:Required Location string `json:"location"` // Tags - Resource tags Tags map[string]string `json:"tags,omitempty"` }
VirtualMachineScaleSetSpec defines the desired state of VirtualMachineScaleSet
func (*VirtualMachineScaleSetSpec) DeepCopy ¶
func (in *VirtualMachineScaleSetSpec) DeepCopy() *VirtualMachineScaleSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSpec.
func (*VirtualMachineScaleSetSpec) DeepCopyInto ¶
func (in *VirtualMachineScaleSetSpec) DeepCopyInto(out *VirtualMachineScaleSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetStatus ¶
type VirtualMachineScaleSetStatus struct { ID string `json:"id,omitempty"` // +k8s:conversion-gen=false DeploymentID string `json:"deploymentId,omitempty"` ProvisioningState string `json:"provisioningState,omitempty"` }
VirtualMachineScaleSetStatus defines the observed state of VirtualMachineScaleSet
func (*VirtualMachineScaleSetStatus) DeepCopy ¶
func (in *VirtualMachineScaleSetStatus) DeepCopy() *VirtualMachineScaleSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetStatus.
func (*VirtualMachineScaleSetStatus) DeepCopyInto ¶
func (in *VirtualMachineScaleSetStatus) DeepCopyInto(out *VirtualMachineScaleSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetStorageProfile ¶
type VirtualMachineScaleSetStorageProfile struct { // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). DataDisks []VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"` }
func (*VirtualMachineScaleSetStorageProfile) DeepCopy ¶
func (in *VirtualMachineScaleSetStorageProfile) DeepCopy() *VirtualMachineScaleSetStorageProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetStorageProfile.
func (*VirtualMachineScaleSetStorageProfile) DeepCopyInto ¶
func (in *VirtualMachineScaleSetStorageProfile) DeepCopyInto(out *VirtualMachineScaleSetStorageProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineScaleSetVMProfile ¶
type VirtualMachineScaleSetVMProfile struct { // OsProfile - Specifies the operating system settings for the virtual machines in the scale set. OsProfile VirtualMachineScaleSetOSProfile `json:"osProfile"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile VirtualMachineScaleSetStorageProfile `json:"storageProfile"` // NetworkProfile - Specifies properties of the network interfaces of the virtual machines in the scale set. NetworkProfile VirtualMachineScaleSetNetworkProfile `json:"networkProfile"` // DiagnosticsProfile - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` // Priority - Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low', 'Spot' // +kubebuilder:validation:Enum=Regular;Low;Spot Priority *string `json:"priority,omitempty"` // EvictionPolicy - Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, the only supported value is 'Deallocate' and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete' // +kubebuilder:validation:Enum=Deallocate;Delete EvictionPolicy *string `json:"evictionPolicy,omitempty"` // BillingProfile - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01. BillingProfile *BillingProfile `json:"billingProfile,omitempty"` // ScheduledEventsProfile - Specifies Scheduled Event related configurations. ScheduledEventsProfile *ScheduledEventsProfile `json:"scheduledEventsProfile,omitempty"` }
func (*VirtualMachineScaleSetVMProfile) DeepCopy ¶
func (in *VirtualMachineScaleSetVMProfile) DeepCopy() *VirtualMachineScaleSetVMProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetVMProfile.
func (*VirtualMachineScaleSetVMProfile) DeepCopyInto ¶
func (in *VirtualMachineScaleSetVMProfile) DeepCopyInto(out *VirtualMachineScaleSetVMProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineSpec ¶
type VirtualMachineSpec struct { // +k8s:conversion-gen=false APIVersion string `json:"apiVersion"` // ResourceGroupRef is the Azure Resource Group the VirtualNetwork resides within // +kubebuilder:validation:Required ResourceGroupRef *azcorev1.KnownTypeReference `json:"resourceGroupRef" group:"microsoft.resources.infra.azure.com" kind:"ResourceGroup"` // Plan specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Plan *Plan `json:"plan,omitempty"` // Zones - The virtual machine zones. Zones *[]string `json:"zones,omitempty"` // Location of the VNET in Azure // +kubebuilder:validation:Required Location string `json:"location"` // Identity - The identity of the virtual machine, if configured. Identity *VirtualMachineIdentity `json:"identity,omitempty"` // Tags - Resource tags Tags map[string]string `json:"tags,omitempty"` // Properties contains details which describe the virtual machine Properties *VirtualMachineProperties `json:"properties,omitempty"` }
VirtualMachineSpec defines the desired state of VirtualMachine
func (*VirtualMachineSpec) DeepCopy ¶
func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec.
func (*VirtualMachineSpec) DeepCopyInto ¶
func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineStatus ¶
type VirtualMachineStatus struct { ID string `json:"id,omitempty"` // +k8s:conversion-gen=false DeploymentID string `json:"deploymentId,omitempty"` ProvisioningState string `json:"provisioningState,omitempty"` }
VirtualMachineStatus defines the observed state of VirtualMachine
func (*VirtualMachineStatus) DeepCopy ¶
func (in *VirtualMachineStatus) DeepCopy() *VirtualMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineStatus.
func (*VirtualMachineStatus) DeepCopyInto ¶
func (in *VirtualMachineStatus) DeepCopyInto(out *VirtualMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.