Class VirtualMachineScaleSetExtensionProfile

java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetExtensionProfile
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineScaleSetExtensionProfile>

public final class VirtualMachineScaleSetExtensionProfile extends Object implements com.azure.json.JsonSerializable<VirtualMachineScaleSetExtensionProfile>
Describes a virtual machine scale set extension profile.
  • Constructor Details

    • VirtualMachineScaleSetExtensionProfile

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

    • extensions

      Get the extensions property: The virtual machine scale set child extension resources.
      Returns:
      the extensions value.
    • withExtensions

      Set the extensions property: The virtual machine scale set child extension resources.
      Parameters:
      extensions - the extensions value to set.
      Returns:
      the VirtualMachineScaleSetExtensionProfile object itself.
    • extensionsTimeBudget

      public String extensionsTimeBudget()
      Get the extensionsTimeBudget property: 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 api-version: 2020-06-01.
      Returns:
      the extensionsTimeBudget value.
    • withExtensionsTimeBudget

      public VirtualMachineScaleSetExtensionProfile withExtensionsTimeBudget(String extensionsTimeBudget)
      Set the extensionsTimeBudget property: 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 api-version: 2020-06-01.
      Parameters:
      extensionsTimeBudget - the extensionsTimeBudget value to set.
      Returns:
      the VirtualMachineScaleSetExtensionProfile object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VirtualMachineScaleSetExtensionProfile>
      Throws:
      IOException
    • fromJson

      public static VirtualMachineScaleSetExtensionProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VirtualMachineScaleSetExtensionProfile from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VirtualMachineScaleSetExtensionProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the VirtualMachineScaleSetExtensionProfile.