Freigeben über


DefaultVirtualMachineScaleSetInfo Class

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

Implements

public final class DefaultVirtualMachineScaleSetInfo
implements JsonSerializable<DefaultVirtualMachineScaleSetInfo>

Indicates the target Virtual Machine ScaleSet properties upon triggering a seamless migration without downtime of the VMs via the ConvertToVirtualMachineScaleSet API.

Constructor Summary

Constructor Description
DefaultVirtualMachineScaleSetInfo()

Creates an instance of DefaultVirtualMachineScaleSetInfo class.

Method Summary

Modifier and Type Method and Description
Boolean constrainedMaximumCapacity()

Get the constrainedMaximumCapacity property: Indicates if the the maximum capacity of the default migrated Virtual Machine Scale Set after its migration will be constrained to a limited number of VMs.

SubResource defaultVirtualMachineScaleSet()

Get the defaultVirtualMachineScaleSet property: The default Virtual Machine ScaleSet Uri that the Availability Set will be moved to upon triggering a seamless migration via the ConvertToVirtualMachineScaleSet API.

static DefaultVirtualMachineScaleSetInfo fromJson(JsonReader jsonReader)

Reads an instance of DefaultVirtualMachineScaleSetInfo from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DefaultVirtualMachineScaleSetInfo

public DefaultVirtualMachineScaleSetInfo()

Creates an instance of DefaultVirtualMachineScaleSetInfo class.

Method Details

constrainedMaximumCapacity

public Boolean constrainedMaximumCapacity()

Get the constrainedMaximumCapacity property: Indicates if the the maximum capacity of the default migrated Virtual Machine Scale Set after its migration will be constrained to a limited number of VMs.

Returns:

the constrainedMaximumCapacity value.

defaultVirtualMachineScaleSet

public SubResource defaultVirtualMachineScaleSet()

Get the defaultVirtualMachineScaleSet property: The default Virtual Machine ScaleSet Uri that the Availability Set will be moved to upon triggering a seamless migration via the ConvertToVirtualMachineScaleSet API.

Returns:

the defaultVirtualMachineScaleSet value.

fromJson

public static DefaultVirtualMachineScaleSetInfo fromJson(JsonReader jsonReader)

Reads an instance of DefaultVirtualMachineScaleSetInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DefaultVirtualMachineScaleSetInfo 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 DefaultVirtualMachineScaleSetInfo.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to