ArmComputeModelFactory.VirtualMachineScaleSetUpdateVmProfile 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.Models.VirtualMachineScaleSetUpdateVmProfile VirtualMachineScaleSetUpdateVmProfile(Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateOSProfile osProfile = default, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateStorageProfile storageProfile = default, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateNetworkProfile networkProfile = default, Azure.ResourceManager.Compute.Models.SecurityPostureReferenceUpdate securityPostureReference = default, Azure.ResourceManager.Compute.Models.SecurityProfile securityProfile = default, Azure.ResourceManager.Compute.Models.BootDiagnostics bootDiagnostics = default, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionProfile extensionProfile = default, string licenseType = default, double? billingMaxPrice = default, Azure.ResourceManager.Compute.Models.ComputeScheduledEventsProfile scheduledEventsProfile = default, string userData = default, Azure.ResourceManager.Compute.Models.VirtualMachineSizeProperties hardwareVmSizeProperties = default, Azure.Core.ResourceIdentifier interconnectBlockId = default);
static member VirtualMachineScaleSetUpdateVmProfile : Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateOSProfile * Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateStorageProfile * Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateNetworkProfile * Azure.ResourceManager.Compute.Models.SecurityPostureReferenceUpdate * Azure.ResourceManager.Compute.Models.SecurityProfile * Azure.ResourceManager.Compute.Models.BootDiagnostics * Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionProfile * string * Nullable<double> * Azure.ResourceManager.Compute.Models.ComputeScheduledEventsProfile * string * Azure.ResourceManager.Compute.Models.VirtualMachineSizeProperties * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdateVmProfile
Public Shared Function VirtualMachineScaleSetUpdateVmProfile (Optional osProfile As VirtualMachineScaleSetUpdateOSProfile = Nothing, Optional storageProfile As VirtualMachineScaleSetUpdateStorageProfile = Nothing, Optional networkProfile As VirtualMachineScaleSetUpdateNetworkProfile = Nothing, Optional securityPostureReference As SecurityPostureReferenceUpdate = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional bootDiagnostics As BootDiagnostics = Nothing, Optional extensionProfile As VirtualMachineScaleSetExtensionProfile = Nothing, Optional licenseType As String = Nothing, Optional billingMaxPrice As Nullable(Of Double) = Nothing, Optional scheduledEventsProfile As ComputeScheduledEventsProfile = Nothing, Optional userData As String = Nothing, Optional hardwareVmSizeProperties As VirtualMachineSizeProperties = Nothing, Optional interconnectBlockId As ResourceIdentifier = Nothing) As VirtualMachineScaleSetUpdateVmProfile
Parameters
- osProfile
- VirtualMachineScaleSetUpdateOSProfile
The virtual machine scale set OS profile.
- storageProfile
- VirtualMachineScaleSetUpdateStorageProfile
The virtual machine scale set storage profile.
- networkProfile
- VirtualMachineScaleSetUpdateNetworkProfile
The virtual machine scale set network profile.
- securityPostureReference
- SecurityPostureReferenceUpdate
The virtual machine scale set security posture reference.
- securityProfile
- SecurityProfile
The virtual machine scale set Security profile.
- 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.
- extensionProfile
- VirtualMachineScaleSetExtensionProfile
The virtual machine scale set extension profile.
- licenseType
- String
The license type, which is for bring your own license scenario.
Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> 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. <br><br> 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. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: 0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> 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. <br><br>Minimum api-version: 2019-03-01.
- scheduledEventsProfile
- ComputeScheduledEventsProfile
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. <br><br>Minimum api-version: 2021-03-01.
- hardwareVmSizeProperties
- VirtualMachineSizeProperties
Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- interconnectBlockId
- ResourceIdentifier
The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
Returns
A new VirtualMachineScaleSetUpdateVmProfile instance for mocking.