Class VirtualMachineScaleSetExtensionProfile
java.lang.Object
com.azure.resourcemanager.compute.models.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.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.
-
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.
-