ArmComputeBulkActionsModelFactory.BulkActionVMProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMProperties BulkActionVMProperties(Azure.ResourceManager.Compute.BulkActions.Models.ScheduledEventsPolicy scheduledEventsPolicy = default, Azure.ResourceManager.Compute.BulkActions.Models.StorageProfile storageProfile = default, Azure.ResourceManager.Compute.BulkActions.Models.HardwareProfile hardwareProfile = default, Azure.ResourceManager.Compute.BulkActions.Models.AdditionalCapabilities additionalCapabilities = default, Azure.ResourceManager.Compute.BulkActions.Models.OSProfile osProfile = default, Azure.ResourceManager.Compute.BulkActions.Models.NetworkProfile networkProfile = default, Azure.ResourceManager.Compute.BulkActions.Models.SecurityProfile securityProfile = default, Azure.ResourceManager.Compute.BulkActions.Models.BootDiagnostics bootDiagnostics = default, string licenseType = default, string extensionsTimeBudget = default, Azure.ResourceManager.Compute.BulkActions.Models.ScheduledEventsProfile scheduledEventsProfile = default, string userData = default, string capacityReservationGroupId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.BulkActions.Models.VMGalleryApplication> galleryApplications = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMExtension> vmExtensions = default, Azure.ResourceManager.Compute.BulkActions.Models.PriorityType? priority = default, double? billingMaxPrice = default, Azure.ResourceManager.Compute.BulkActions.Models.EvictionPolicy? evictionPolicy = default);
static member BulkActionVMProperties : Azure.ResourceManager.Compute.BulkActions.Models.ScheduledEventsPolicy * Azure.ResourceManager.Compute.BulkActions.Models.StorageProfile * Azure.ResourceManager.Compute.BulkActions.Models.HardwareProfile * Azure.ResourceManager.Compute.BulkActions.Models.AdditionalCapabilities * Azure.ResourceManager.Compute.BulkActions.Models.OSProfile * Azure.ResourceManager.Compute.BulkActions.Models.NetworkProfile * Azure.ResourceManager.Compute.BulkActions.Models.SecurityProfile * Azure.ResourceManager.Compute.BulkActions.Models.BootDiagnostics * string * string * Azure.ResourceManager.Compute.BulkActions.Models.ScheduledEventsProfile * string * string * seq<Azure.ResourceManager.Compute.BulkActions.Models.VMGalleryApplication> * seq<Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMExtension> * Nullable<Azure.ResourceManager.Compute.BulkActions.Models.PriorityType> * Nullable<double> * Nullable<Azure.ResourceManager.Compute.BulkActions.Models.EvictionPolicy> -> Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMProperties
Public Shared Function BulkActionVMProperties (Optional scheduledEventsPolicy As ScheduledEventsPolicy = Nothing, Optional storageProfile As StorageProfile = Nothing, Optional hardwareProfile As HardwareProfile = Nothing, Optional additionalCapabilities As AdditionalCapabilities = Nothing, Optional osProfile As OSProfile = Nothing, Optional networkProfile As NetworkProfile = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional bootDiagnostics As BootDiagnostics = Nothing, Optional licenseType As String = Nothing, Optional extensionsTimeBudget As String = Nothing, Optional scheduledEventsProfile As ScheduledEventsProfile = Nothing, Optional userData As String = Nothing, Optional capacityReservationGroupId As String = Nothing, Optional galleryApplications As IEnumerable(Of VMGalleryApplication) = Nothing, Optional vmExtensions As IEnumerable(Of BulkActionVMExtension) = Nothing, Optional priority As Nullable(Of PriorityType) = Nothing, Optional billingMaxPrice As Nullable(Of Double) = Nothing, Optional evictionPolicy As Nullable(Of EvictionPolicy) = Nothing) As BulkActionVMProperties
Parameters
- scheduledEventsPolicy
- ScheduledEventsPolicy
Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the virtual machine.
- storageProfile
- StorageProfile
Specifies the storage settings for the virtual machine disks.
- hardwareProfile
- HardwareProfile
Specifies the hardware profile for the virtual machine.
- additionalCapabilities
- AdditionalCapabilities
Specifies additional capabilities enabled or disabled on the virtual machine.
- osProfile
- OSProfile
Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.
- networkProfile
- NetworkProfile
Specifies the network interfaces of the virtual machine.
- securityProfile
- SecurityProfile
Specifies the Security related profile settings for the virtual machine.
- bootDiagnostics
- BootDiagnostics
Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- licenseType
- String
Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Azure Hybrid Use Benefit for Linux Server <br><br> Minimum api-version: 2015-06-15.
- extensionsTimeBudget
- String
Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum compute api-version: 2020-06-01.
- scheduledEventsProfile
- ScheduledEventsProfile
Specifies Scheduled Event related configurations.
- userData
- String
UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum compute api-version: 2021-03-01.
- capacityReservationGroupId
- String
The Azure resource ID.
- galleryApplications
- IEnumerable<VMGalleryApplication>
Specifies the gallery applications that should be made available to the VM.
- vmExtensions
- IEnumerable<BulkActionVMExtension>
Virtual Machine Extensions Array to be applied to the Virtual Machines.
- priority
- Nullable<PriorityType>
Specifies the priority for the virtual machines. Mirrors the priority property on Microsoft.Compute/virtualMachines.
Specifies the maximum price, in US Dollars, you are willing to pay per hour for each Azure Spot virtual machine. This price is compared with the current Azure Spot price for the virtual machine size at create time, and the operation only succeeds if maxPrice is greater than the current Azure Spot price. It is also used to evict a virtual machine if the current Azure Spot price rises above it after creation. Possible values are any decimal value greater than zero, or -1 to indicate the default price is up-to on-demand and the virtual machine should not be evicted for price reasons. The default is -1 when not provided.
- evictionPolicy
- Nullable<EvictionPolicy>
Specifies the eviction policy for the Azure Spot virtual machines. Both Deallocate and Delete are supported. Mirrors the evictionPolicy property on Microsoft.Compute/virtualMachines. Only applies when priority is Spot.
Returns
A new BulkActionVMProperties instance for mocking.