Class VirtualMachineScaleSetUpdateVMProfile


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

      • VirtualMachineScaleSetUpdateVMProfile

        public VirtualMachineScaleSetUpdateVMProfile()
    • Method Detail

      • 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.
      • 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. <br><br>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. <br><br>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.
      • validate

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