다음을 통해 공유


VirtualMachineScaleSetExtensionProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.VirtualMachineScaleSetExtensionProfile

Implements

public final class VirtualMachineScaleSetExtensionProfile
implements JsonSerializable<VirtualMachineScaleSetExtensionProfile>

Describes a virtual machine scale set extension profile.

Constructor Summary

Constructor Description
VirtualMachineScaleSetExtensionProfile()

Creates an instance of VirtualMachineScaleSetExtensionProfile class.

Method Summary

Modifier and Type Method and Description
List<VirtualMachineScaleSetExtensionInner> extensions()

Get the extensions property: The virtual machine scale set child extension resources.

String extensionsTimeBudget()

Get the extensionsTimeBudget property: Specifies the time alloted for all extensions to start.

static VirtualMachineScaleSetExtensionProfile fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineScaleSetExtensionProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualMachineScaleSetExtensionProfile withExtensions(List<VirtualMachineScaleSetExtensionInner> extensions)

Set the extensions property: The virtual machine scale set child extension resources.

VirtualMachineScaleSetExtensionProfile withExtensionsTimeBudget(String extensionsTimeBudget)

Set the extensionsTimeBudget property: Specifies the time alloted for all extensions to start.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineScaleSetExtensionProfile

public VirtualMachineScaleSetExtensionProfile()

Creates an instance of VirtualMachineScaleSetExtensionProfile class.

Method Details

extensions

public List extensions()

Get the extensions property: The virtual machine scale set child extension resources.

Returns:

the extensions value.

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.

fromJson

public static VirtualMachineScaleSetExtensionProfile fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withExtensions

public VirtualMachineScaleSetExtensionProfile withExtensions(List 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.

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.

Applies to