Class VirtualMachineScaleSetUpdateVMProfile

java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdateVMProfile

public final class VirtualMachineScaleSetUpdateVMProfile extends Object
Describes a virtual machine scale set virtual machine profile.
  • Constructor Details

    • VirtualMachineScaleSetUpdateVMProfile

      public VirtualMachineScaleSetUpdateVMProfile()
      Creates an instance of VirtualMachineScaleSetUpdateVMProfile class.
  • Method Details

    • osProfile

      Get the osProfile property: The virtual machine scale set OS profile.
      Returns:
      the osProfile value.
    • withOsProfile

      Set the osProfile property: The virtual machine scale set OS profile.
      Parameters:
      osProfile - the osProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • storageProfile

      Get the storageProfile property: The virtual machine scale set storage profile.
      Returns:
      the storageProfile value.
    • withStorageProfile

      Set the storageProfile property: The virtual machine scale set storage profile.
      Parameters:
      storageProfile - the storageProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • networkProfile

      Get the networkProfile property: The virtual machine scale set network profile.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      Set the networkProfile property: The virtual machine scale set network profile.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • securityProfile

      public SecurityProfile securityProfile()
      Get the securityProfile property: The virtual machine scale set Security profile.
      Returns:
      the securityProfile value.
    • withSecurityProfile

      public VirtualMachineScaleSetUpdateVMProfile withSecurityProfile(SecurityProfile securityProfile)
      Set the securityProfile property: The virtual machine scale set Security profile.
      Parameters:
      securityProfile - the securityProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • diagnosticsProfile

      public DiagnosticsProfile diagnosticsProfile()
      Get the diagnosticsProfile property: The virtual machine scale set diagnostics profile.
      Returns:
      the diagnosticsProfile value.
    • withDiagnosticsProfile

      public VirtualMachineScaleSetUpdateVMProfile withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
      Set the diagnosticsProfile property: The virtual machine scale set diagnostics profile.
      Parameters:
      diagnosticsProfile - the diagnosticsProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • extensionProfile

      public VirtualMachineScaleSetExtensionProfile extensionProfile()
      Get the extensionProfile property: The virtual machine scale set extension profile.
      Returns:
      the extensionProfile value.
    • withExtensionProfile

      public VirtualMachineScaleSetUpdateVMProfile withExtensionProfile(VirtualMachineScaleSetExtensionProfile extensionProfile)
      Set the extensionProfile property: The virtual machine scale set extension profile.
      Parameters:
      extensionProfile - the extensionProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • licenseType

      public String licenseType()
      Get the licenseType property: The license type, which is for bring your own license scenario.
      Returns:
      the licenseType value.
    • withLicenseType

      public VirtualMachineScaleSetUpdateVMProfile withLicenseType(String licenseType)
      Set the licenseType property: The license type, which is for bring your own license scenario.
      Parameters:
      licenseType - the licenseType value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • billingProfile

      public BillingProfile billingProfile()
      Get the billingProfile property: Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
      Returns:
      the billingProfile value.
    • withBillingProfile

      public VirtualMachineScaleSetUpdateVMProfile withBillingProfile(BillingProfile billingProfile)
      Set the billingProfile property: Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
      Parameters:
      billingProfile - the billingProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • scheduledEventsProfile

      public ScheduledEventsProfile scheduledEventsProfile()
      Get the scheduledEventsProfile property: Specifies Scheduled Event related configurations.
      Returns:
      the scheduledEventsProfile value.
    • withScheduledEventsProfile

      public VirtualMachineScaleSetUpdateVMProfile withScheduledEventsProfile(ScheduledEventsProfile scheduledEventsProfile)
      Set the scheduledEventsProfile property: Specifies Scheduled Event related configurations.
      Parameters:
      scheduledEventsProfile - the scheduledEventsProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • userData

      public String userData()
      Get the userData property: 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.
      Returns:
      the userData value.
    • withUserData

      public VirtualMachineScaleSetUpdateVMProfile withUserData(String userData)
      Set the userData property: 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.
      Parameters:
      userData - the userData value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • hardwareProfile

      public VirtualMachineScaleSetHardwareProfile hardwareProfile()
      Get the hardwareProfile property: Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
      Returns:
      the hardwareProfile value.
    • withHardwareProfile

      Set the hardwareProfile property: Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
      Parameters:
      hardwareProfile - the hardwareProfile value to set.
      Returns:
      the VirtualMachineScaleSetUpdateVMProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.