AvailabilitySetProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.AvailabilitySetProperties

Implements

public final class AvailabilitySetProperties
implements JsonSerializable<AvailabilitySetProperties>

Defines the resource properties.

Constructor Summary

Constructor Description
AvailabilitySetProperties()

Creates an instance of AvailabilitySetProperties class.

Method Summary

Modifier and Type Method and Description
String availabilitySetName()

Get the availabilitySetName property: Name of the availability set.

static AvailabilitySetProperties fromJson(JsonReader jsonReader)

Reads an instance of AvailabilitySetProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

AvailabilitySetProperties withAvailabilitySetName(String availabilitySetName)

Set the availabilitySetName property: Name of the availability set.

AvailabilitySetProperties withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Methods inherited from java.lang.Object

Constructor Details

AvailabilitySetProperties

public AvailabilitySetProperties()

Creates an instance of AvailabilitySetProperties class.

Method Details

availabilitySetName

public String availabilitySetName()

Get the availabilitySetName property: Name of the availability set.

Returns:

the availabilitySetName value.

fromJson

public static AvailabilitySetProperties fromJson(JsonReader jsonReader)

Reads an instance of AvailabilitySetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vmmServerId

public String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Returns:

the vmmServerId value.

withAvailabilitySetName

public AvailabilitySetProperties withAvailabilitySetName(String availabilitySetName)

Set the availabilitySetName property: Name of the availability set.

Parameters:

availabilitySetName - the availabilitySetName value to set.

Returns:

the AvailabilitySetProperties object itself.

withVmmServerId

public AvailabilitySetProperties withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Parameters:

vmmServerId - the vmmServerId value to set.

Returns:

the AvailabilitySetProperties object itself.

Applies to