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 Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualMachineScaleSetExtensionProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the extensions property: The virtual machine scale set child extension resources.Get the extensionsTimeBudget property: Specifies the time alloted for all extensions to start.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineScaleSetExtensionProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withExtensions(List<VirtualMachineScaleSetExtensionInner> extensions) Set the extensions property: The virtual machine scale set child extension resources.withExtensionsTimeBudget(String extensionsTimeBudget) Set the extensionsTimeBudget property: Specifies the time alloted for all extensions to start.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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
public VirtualMachineScaleSetExtensionProfile withExtensions(List<VirtualMachineScaleSetExtensionInner> extensions) 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
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
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
- Specified by:
toJsonin interfacecom.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.
-